Difference between revisions of "Kubernetes Canary Deployments"
Jump to navigation
Jump to search
(→Errors) |
|||
(5 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 == |
Latest revision as of 13:15, 11 March 2024
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: