kops/pkg/model/tests/data/nodeupconfig_2.txt

49 lines
1.2 KiB
Plaintext

APIServerConfig:
KubeAPIServer:
image: CoreOS
ServiceAccountPublicKeys: ""
CAs: {}
FileAssets:
- content: blah blah
name: iptables-restore
path: /var/lib/iptables/rules-save
- content: user,token
name: tokens
path: /kube/tokens.csv
- content: blah blah
name: iptables-restore
path: /var/lib/iptables/rules-save
Hooks:
- - before:
- update-engine.service
- kubelet.service
manifest: |-
Type=oneshot
ExecStart=/usr/bin/systemctl stop update-engine.service
name: disable-update-engine.service
- manifest: |-
Type=oneshot
ExecStart=/usr/bin/systemctl start apply-to-all.service
name: apply-to-all.service
- - execContainer:
command:
- sh
- -c
- apt-get update
image: busybox
KeypairIDs: {}
KubeletConfig:
kubeconfigPath: /etc/kubernetes/igconfig.txt
nodeLabels:
kops.k8s.io/kops-controller-pki: ""
kubernetes.io/role: master
label2: value2
labelname: labelvalue
node-role.kubernetes.io/control-plane: ""
node-role.kubernetes.io/master: ""
node.kubernetes.io/exclude-from-external-load-balancers: ""
taints:
- key1=value1:NoSchedule
- key2=value2:NoExecute
UpdatePolicy: automatic