mirror of https://github.com/kubernetes/kops.git
Merge pull request #5905 from adammw/adammw/update-aws-cni-1.2.0
Update amazon-vpc-routed-eni to v1.2.1
This commit is contained in:
commit
ea97194f0b
|
|
@ -1,13 +1,21 @@
|
||||||
# Vendored from https://github.com/aws/amazon-vpc-cni-k8s/blob/release-1.0/config/v1.0/aws-k8s-cni.yaml
|
# Vendored from https://github.com/aws/amazon-vpc-cni-k8s/blob/v1.2.0/config/v1.2/aws-k8s-cni.yaml
|
||||||
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: aws-node
|
name: aws-node
|
||||||
rules:
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- crd.k8s.amazonaws.com
|
||||||
|
resources:
|
||||||
|
- "*"
|
||||||
|
- namespaces
|
||||||
|
verbs:
|
||||||
|
- "*"
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources:
|
resources:
|
||||||
- pods
|
- pods
|
||||||
|
- nodes
|
||||||
- namespaces
|
- namespaces
|
||||||
verbs: ["list", "watch", "get"]
|
verbs: ["list", "watch", "get"]
|
||||||
- apiGroups: ["extensions"]
|
- apiGroups: ["extensions"]
|
||||||
|
|
@ -69,7 +77,10 @@ spec:
|
||||||
- key: CriticalAddonsOnly
|
- key: CriticalAddonsOnly
|
||||||
operator: Exists
|
operator: Exists
|
||||||
containers:
|
containers:
|
||||||
- image: "{{- or .Networking.AmazonVPC.ImageName "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:1.0.0" }}"
|
- image: "{{- or .Networking.AmazonVPC.ImageName "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:1.2.1" }}"
|
||||||
|
ports:
|
||||||
|
- containerPort: 60000
|
||||||
|
name: metrics
|
||||||
name: aws-node
|
name: aws-node
|
||||||
env:
|
env:
|
||||||
- name: AWS_VPC_K8S_CNI_LOGLEVEL
|
- name: AWS_VPC_K8S_CNI_LOGLEVEL
|
||||||
|
|
@ -78,6 +89,10 @@ spec:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
|
- name: WATCH_NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
|
|
@ -106,3 +121,17 @@ spec:
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: eniconfigs.crd.k8s.amazonaws.com
|
||||||
|
spec:
|
||||||
|
scope: Cluster
|
||||||
|
group: crd.k8s.amazonaws.com
|
||||||
|
version: v1alpha1
|
||||||
|
names:
|
||||||
|
scope: Cluster
|
||||||
|
plural: eniconfigs
|
||||||
|
singuar: eniconfig
|
||||||
|
kind: ENIConfig
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,21 @@
|
||||||
# Vendored from https://github.com/aws/amazon-vpc-cni-k8s/blob/release-1.0/config/v1.0/aws-k8s-cni.yaml
|
# Vendored from https://github.com/aws/amazon-vpc-cni-k8s/blob/v1.2.0/config/v1.2/aws-k8s-cni.yaml
|
||||||
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: aws-node
|
name: aws-node
|
||||||
rules:
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- crd.k8s.amazonaws.com
|
||||||
|
resources:
|
||||||
|
- "*"
|
||||||
|
- namespaces
|
||||||
|
verbs:
|
||||||
|
- "*"
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources:
|
resources:
|
||||||
- pods
|
- pods
|
||||||
|
- nodes
|
||||||
- namespaces
|
- namespaces
|
||||||
verbs: ["list", "watch", "get"]
|
verbs: ["list", "watch", "get"]
|
||||||
- apiGroups: ["extensions"]
|
- apiGroups: ["extensions"]
|
||||||
|
|
@ -69,7 +77,10 @@ spec:
|
||||||
- key: CriticalAddonsOnly
|
- key: CriticalAddonsOnly
|
||||||
operator: Exists
|
operator: Exists
|
||||||
containers:
|
containers:
|
||||||
- image: "{{- or .Networking.AmazonVPC.ImageName "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:1.0.0" }}"
|
- image: "{{- or .Networking.AmazonVPC.ImageName "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:1.2.1" }}"
|
||||||
|
ports:
|
||||||
|
- containerPort: 60000
|
||||||
|
name: metrics
|
||||||
name: aws-node
|
name: aws-node
|
||||||
env:
|
env:
|
||||||
- name: AWS_VPC_K8S_CNI_LOGLEVEL
|
- name: AWS_VPC_K8S_CNI_LOGLEVEL
|
||||||
|
|
@ -78,6 +89,10 @@ spec:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
|
- name: WATCH_NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
|
|
@ -106,6 +121,21 @@ spec:
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: eniconfigs.crd.k8s.amazonaws.com
|
||||||
|
spec:
|
||||||
|
scope: Cluster
|
||||||
|
group: crd.k8s.amazonaws.com
|
||||||
|
version: v1alpha1
|
||||||
|
names:
|
||||||
|
scope: Cluster
|
||||||
|
plural: eniconfigs
|
||||||
|
singuar: eniconfig
|
||||||
|
kind: ENIConfig
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,21 @@
|
||||||
# Vendored from https://github.com/aws/amazon-vpc-cni-k8s/blob/release-1.0/config/v1.0/aws-k8s-cni.yaml
|
# Vendored from https://github.com/aws/amazon-vpc-cni-k8s/blob/v1.2.0/config/v1.2/aws-k8s-cni.yaml
|
||||||
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: aws-node
|
name: aws-node
|
||||||
rules:
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- crd.k8s.amazonaws.com
|
||||||
|
resources:
|
||||||
|
- "*"
|
||||||
|
- namespaces
|
||||||
|
verbs:
|
||||||
|
- "*"
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources:
|
resources:
|
||||||
- pods
|
- pods
|
||||||
|
- nodes
|
||||||
- namespaces
|
- namespaces
|
||||||
verbs: ["list", "watch", "get"]
|
verbs: ["list", "watch", "get"]
|
||||||
- apiGroups: ["extensions"]
|
- apiGroups: ["extensions"]
|
||||||
|
|
@ -69,7 +77,10 @@ spec:
|
||||||
- key: CriticalAddonsOnly
|
- key: CriticalAddonsOnly
|
||||||
operator: Exists
|
operator: Exists
|
||||||
containers:
|
containers:
|
||||||
- image: "{{- or .Networking.AmazonVPC.ImageName "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:1.0.0" }}"
|
- image: "{{- or .Networking.AmazonVPC.ImageName "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:1.2.1" }}"
|
||||||
|
ports:
|
||||||
|
- containerPort: 60000
|
||||||
|
name: metrics
|
||||||
name: aws-node
|
name: aws-node
|
||||||
env:
|
env:
|
||||||
- name: AWS_VPC_K8S_CNI_LOGLEVEL
|
- name: AWS_VPC_K8S_CNI_LOGLEVEL
|
||||||
|
|
@ -78,6 +89,10 @@ spec:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
|
- name: WATCH_NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
|
|
@ -106,6 +121,21 @@ spec:
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: eniconfigs.crd.k8s.amazonaws.com
|
||||||
|
spec:
|
||||||
|
scope: Cluster
|
||||||
|
group: crd.k8s.amazonaws.com
|
||||||
|
version: v1alpha1
|
||||||
|
names:
|
||||||
|
scope: Cluster
|
||||||
|
plural: eniconfigs
|
||||||
|
singuar: eniconfig
|
||||||
|
kind: ENIConfig
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue