Difference between revisions of "Kubernetes Canary Deployments"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* https://kubernetes.io/docs/concepts/cluster-administration/manage-deployment/#canary-deployments
 
* https://kubernetes.io/docs/concepts/cluster-administration/manage-deployment/#canary-deployments
  
 +
name: frontend
 +
[[replicas:]] 3
 +
...
 +
[[labels:]]
 +
    app: guestbook
 +
    tier: frontend
 +
    [[track:]] stable
 +
...
 +
image: gb-frontend:v3
 +
and then you can create a new release of the guestbook frontend that carries the track label with different value (i.e. canary), so that two sets of pods would not overlap:
 +
 +
name: frontend-canary
 +
replicas: 1
 +
...
 +
labels:
 +
    app: guestbook
 +
    tier: frontend
 +
    [[track: canary]]
 +
...
 +
image: gb-frontend:v4
 +
 +
== Errors ==
 +
* <code>[[Error: creating Synthetics Canary]] ... [[Canary name already exists.]]</code>
  
 
== Related terms ==
 
== Related terms ==
 
* [[Kubernetes deployments]]
 
* [[Kubernetes deployments]]
 
  
 
== See also ==
 
== See also ==
* {{K8s}}
+
* {{K8s deployments}}
  
  
 
[[Category:DevOps]]
 
[[Category:DevOps]]
 
[[Category:K8s]]
 
[[Category:K8s]]

Latest revision as of 13:15, 11 March 2024

wikipedia:Canary deployments

name: frontend
replicas: 3
...
labels:
   app: guestbook
   tier: frontend
   track: stable
...
image: gb-frontend:v3
and then you can create a new release of the guestbook frontend that carries the track label with different value (i.e. canary), so that two sets of pods would not overlap:

name: frontend-canary
replicas: 1
...
labels:
   app: guestbook
   tier: frontend
   track: canary
...
image: gb-frontend:v4

Errors[edit]

Related terms[edit]

See also[edit]

Advertising: