Skip to content

Instantly share code, notes, and snippets.

@gerrited
Last active January 30, 2022 14:35

Revisions

  1. gerrited revised this gist Jan 30, 2022. 2 changed files with 2 additions and 2 deletions.
    2 changes: 1 addition & 1 deletion hello-blinkt-controller-blue.yml
    Original file line number Diff line number Diff line change
    @@ -18,4 +18,4 @@ spec:
    spec:
    containers:
    - name: hello-blinkt
    image: hello-world
    image: nginx:latest
    2 changes: 1 addition & 1 deletion hello-blinkt-controller-green.yml
    Original file line number Diff line number Diff line change
    @@ -18,4 +18,4 @@ spec:
    spec:
    containers:
    - name: hello-blinkt
    image: hello-world
    image: nginx:latest
  2. gerrited revised this gist Jan 10, 2022. 2 changed files with 0 additions and 4 deletions.
    2 changes: 0 additions & 2 deletions hello-blinkt-controller-blue.yml
    Original file line number Diff line number Diff line change
    @@ -19,5 +19,3 @@ spec:
    containers:
    - name: hello-blinkt
    image: hello-world
    ports:
    - containerPort: 80
    2 changes: 0 additions & 2 deletions hello-blinkt-controller-green.yml
    Original file line number Diff line number Diff line change
    @@ -19,5 +19,3 @@ spec:
    containers:
    - name: hello-blinkt
    image: hello-world
    ports:
    - containerPort: 80
  3. gerrited revised this gist Jan 9, 2022. 2 changed files with 2 additions and 2 deletions.
    2 changes: 1 addition & 1 deletion hello-blinkt-controller-blue.yml
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ metadata:
    labels:
    app: hello-blinkt
    spec:
    replicas: 8
    replicas: 16
    selector:
    matchLabels:
    app: hello-blinkt
    2 changes: 1 addition & 1 deletion hello-blinkt-controller-green.yml
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ metadata:
    labels:
    app: hello-blinkt
    spec:
    replicas: 8
    replicas: 16
    selector:
    matchLabels:
    app: hello-blinkt
  4. gerrited revised this gist Jan 9, 2022. No changes.
  5. gerrited created this gist Jan 9, 2022.
    23 changes: 23 additions & 0 deletions hello-blinkt-controller-blue.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    apiVersion: apps/v1
    kind: Deployment
    metadata:
    name: hello-blinkt
    labels:
    app: hello-blinkt
    spec:
    replicas: 8
    selector:
    matchLabels:
    app: hello-blinkt
    template:
    metadata:
    labels:
    app: hello-blinkt
    blinkt: show
    blinktColor: "000011"
    spec:
    containers:
    - name: hello-blinkt
    image: hello-world
    ports:
    - containerPort: 80
    23 changes: 23 additions & 0 deletions hello-blinkt-controller-green.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    apiVersion: apps/v1
    kind: Deployment
    metadata:
    name: hello-blinkt
    labels:
    app: hello-blinkt
    spec:
    replicas: 8
    selector:
    matchLabels:
    app: hello-blinkt
    template:
    metadata:
    labels:
    app: hello-blinkt
    blinkt: show
    blinktColor: "001100"
    spec:
    containers:
    - name: hello-blinkt
    image: hello-world
    ports:
    - containerPort: 80