Skip to content

Commit

Permalink
generate and copy manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
bwagner5 committed Nov 22, 2022
1 parent 7bfa89d commit a1cb3e9
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 18 deletions.
43 changes: 26 additions & 17 deletions config/master/aws-k8s-cni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,27 +123,26 @@ spec:
priorityClassName: "system-node-critical"
serviceAccountName: aws-node
hostNetwork: true
initContainers:
- name: aws-vpc-cni-init
image: "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni-init:v1.12.0"
env:
- name: DISABLE_TCP_EARLY_DEMUX
value: "false"
- name: ENABLE_IPv6
value: "false"
securityContext:
containers:
- name: aws-vpc-cni-init
image: "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni-init:v1.12.0-11-g69122330"
env:
- name: DISABLE_TCP_EARLY_DEMUX
value: "false"
- name: ENABLE_IPv6
value: "false"
resources:
requests:
cpu: 5m
securityContext:
privileged: true
volumeMounts:
volumeMounts:
- mountPath: /host/opt/cni/bin
name: cni-bin-dir
terminationGracePeriodSeconds: 10
tolerations:
- operator: Exists
securityContext:
{}
containers:
- name: vpc-cni-init-dir
mountPath: /vpc-cni-init
- name: aws-node
image: "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:v1.12.0"
image: "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:v1.12.0-11-g69122330"
ports:
- containerPort: 61678
name: metrics
Expand Down Expand Up @@ -231,6 +230,8 @@ spec:
name: run-dir
- mountPath: /run/xtables.lock
name: xtables-lock
- name: vpc-cni-init-dir
mountPath: /vpc-cni-init
volumes:
- name: cni-bin-dir
hostPath:
Expand All @@ -249,6 +250,9 @@ spec:
- name: xtables-lock
hostPath:
path: /run/xtables.lock
- name: vpc-cni-init-dir
emptyDir:
sizeLimit: 1Ki
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand All @@ -267,3 +271,8 @@ spec:
operator: NotIn
values:
- fargate
securityContext:
{}
terminationGracePeriodSeconds: 10
tolerations:
- operator: Exists
2 changes: 1 addition & 1 deletion config/master/cni-metrics-helper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ spec:
- name: USE_CLOUDWATCH
value: "true"
name: cni-metrics-helper
image: "602401143452.dkr.ecr.us-west-2.amazonaws.com/cni-metrics-helper:v1.12.0"
image: "602401143452.dkr.ecr.us-west-2.amazonaws.com/cni-metrics-helper:v1.12.0-11-g69122330"
serviceAccountName: cni-metrics-helper

0 comments on commit a1cb3e9

Please sign in to comment.