mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 21:50:05 +00:00
Implement kubectl rollout history and undo for DaemonSet
This commit is contained in:
27
hack/testdata/rollingupdate-daemonset-rv2.yaml
vendored
Normal file
27
hack/testdata/rollingupdate-daemonset-rv2.yaml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: bind
|
||||
spec:
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxUnavailable: 10%
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
service: bind
|
||||
spec:
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
- labelSelector:
|
||||
matchExpressions:
|
||||
- key: "service"
|
||||
operator: "In"
|
||||
values: ["bind"]
|
||||
topologyKey: "kubernetes.io/hostname"
|
||||
namespaces: []
|
||||
containers:
|
||||
- name: kubernetes-pause
|
||||
image: gcr.io/google-containers/pause:latest
|
Reference in New Issue
Block a user