Merge pull request #11590 from johngmyers/aws-vpc-ondelete

Use the OnDelete updateStrategy for AWS VPC CNI DaemonSet
This commit is contained in:
Kubernetes Prow Robot 2021-05-24 22:04:20 -07:00 committed by GitHub
commit 0749674d6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 16 deletions

View File

@ -226,9 +226,7 @@
"type": "DirectoryOrCreate"
"name": "run-dir"
"updateStrategy":
"rollingUpdate":
"maxUnavailable": "10%"
"type": "RollingUpdate"
"type": "OnDelete"
---
"apiVersion": "v1"
"kind": "ServiceAccount"

View File

@ -816,11 +816,12 @@ func (b *BootstrapChannelBuilder) buildAddons(c *fi.ModelBuilderContext) (*chann
location := key + "/" + id + ".yaml"
addons.Spec.Addons = append(addons.Spec.Addons, &channelsapi.AddonSpec{
Name: fi.String(key),
Version: fi.String(versions[id]),
Selector: networkingSelector(),
Manifest: fi.String(location),
Id: id,
Name: fi.String(key),
Version: fi.String(versions[id]),
Selector: networkingSelector(),
Manifest: fi.String(location),
Id: id,
NeedsRollingUpdate: "all",
})
}
}

View File

@ -54,8 +54,9 @@ spec:
version: 1.17.0
- id: k8s-1.16
manifest: networking.amazon-vpc-routed-eni/k8s-1.16.yaml
manifestHash: ba5c98ae679d9feb8a84a063075acee4956cc126
manifestHash: 997781194bcdfa7602dfb69e2a1f42cb5106fc81
name: networking.amazon-vpc-routed-eni
needsRollingUpdate: all
selector:
role.kubernetes.io/networking: "1"
version: 1.7.8-kops.1

View File

@ -252,9 +252,7 @@ spec:
type: DirectoryOrCreate
name: run-dir
updateStrategy:
rollingUpdate:
maxUnavailable: 10%
type: RollingUpdate
type: OnDelete
---

View File

@ -54,8 +54,9 @@ spec:
version: 1.17.0
- id: k8s-1.16
manifest: networking.amazon-vpc-routed-eni/k8s-1.16.yaml
manifestHash: ba5c98ae679d9feb8a84a063075acee4956cc126
manifestHash: 997781194bcdfa7602dfb69e2a1f42cb5106fc81
name: networking.amazon-vpc-routed-eni
needsRollingUpdate: all
selector:
role.kubernetes.io/networking: "1"
version: 1.7.8-kops.1

View File

@ -252,9 +252,7 @@ spec:
type: DirectoryOrCreate
name: run-dir
updateStrategy:
rollingUpdate:
maxUnavailable: 10%
type: RollingUpdate
type: OnDelete
---