Skip to content

Commit

Permalink
Update addons and SDN
Browse files Browse the repository at this point in the history
  • Loading branch information
scholzj committed Oct 9, 2021
1 parent bfbfefc commit ce811ed
Show file tree
Hide file tree
Showing 5 changed files with 4,112 additions and 8 deletions.
4 changes: 2 additions & 2 deletions addons/external-dns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rules:
verbs: ["get","watch","list"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["list"]
verbs: ["get","watch","list"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down Expand Up @@ -74,7 +74,7 @@ spec:
serviceAccountName: external-dns
containers:
- name: external-dns
image: k8s.gcr.io/external-dns/external-dns:v0.8.0
image: k8s.gcr.io/external-dns/external-dns:v0.10.0
args:
- --source=service
- --source=ingress
Expand Down
21 changes: 18 additions & 3 deletions addons/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ rules:
- "networking.k8s.io"
resources:
- ingresses
- ingressclasses
verbs:
- get
- list
Expand Down Expand Up @@ -211,7 +212,7 @@ rules:
# Here: "<ingress-controller-leader>-<nginx>"
# This has to be adapted if you change either parameter
# when launching the nginx-ingress-controller.
- "ingress-controller-leader-nginx"
- "ingress-controller-leader"
verbs:
- get
- update
Expand Down Expand Up @@ -279,7 +280,7 @@ spec:
serviceAccountName: nginx-ingress-serviceaccount
containers:
- name: nginx-ingress-controller
image: k8s.gcr.io/ingress-nginx/controller:v0.47.0
image: k8s.gcr.io/ingress-nginx/controller:v1.0.3
args:
- /nginx-ingress-controller
- --default-backend-service=$(POD_NAMESPACE)/default-http-backend
Expand All @@ -289,6 +290,7 @@ spec:
- --publish-service=$(POD_NAMESPACE)/ingress-nginx
- --annotations-prefix=nginx.ingress.kubernetes.io
- --enable-ssl-passthrough
- --controller-class=k8s.io/ingress-nginx
securityContext:
capabilities:
drop:
Expand Down Expand Up @@ -330,4 +332,17 @@ spec:
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
---
---

apiVersion: networking.k8s.io/v1
kind: IngressClass
metadata:
labels:
app: ingress-nginx
name: nginx
# Currently non-namespaced only
#namespace: ingress-nginx
annotations:
ingressclass.kubernetes.io/is-default-class: "true"
spec:
controller: k8s.io/ingress-nginx
2 changes: 1 addition & 1 deletion addons/metrics-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ spec:
- --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname
- --kubelet-use-node-status-port
- --kubelet-insecure-tls
image: k8s.gcr.io/metrics-server/metrics-server:v0.5.0
image: k8s.gcr.io/metrics-server/metrics-server:v0.5.1
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
Expand Down
4 changes: 2 additions & 2 deletions addons/storage-class.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
kind: StorageClass
apiVersion: storage.k8s.io/v1beta1
apiVersion: storage.k8s.io/v1
metadata:
name: ssd
annotations:
Expand All @@ -15,7 +15,7 @@ allowVolumeExpansion: true

---
kind: StorageClass
apiVersion: storage.k8s.io/v1beta1
apiVersion: storage.k8s.io/v1
metadata:
name: hdd
provisioner: kubernetes.io/aws-ebs
Expand Down
Loading

0 comments on commit ce811ed

Please sign in to comment.