Skip to content

test skipper-ingress with eks karpenter #9572

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 15 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions cluster/manifests/ingress-controller/01-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ rules:
verbs:
- patch
- update
- apiGroups:
- ""
resources:
- pods
- pods/status
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down
4 changes: 3 additions & 1 deletion cluster/manifests/ingress-controller/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ spec:
- name: controller
image: "{{ $image }}"
args:
- --target-access-mode=HostPort
- --target-access-mode=AWSCNI
- --target-cni-namespace=kube-system
- --target-cni-pod-labelselector=application=skipper-ingress,component=ingress
- --stack-termination-protection
- --ssl-policy={{ .Cluster.ConfigItems.kube_aws_ingress_controller_ssl_policy }}
- --idle-connection-timeout={{ .Cluster.ConfigItems.kube_aws_ingress_controller_idle_timeout }}
Expand Down
3 changes: 0 additions & 3 deletions cluster/manifests/skipper/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,20 +96,17 @@ spec:
serviceAccountName: skipper-ingress
terminationGracePeriodSeconds: {{ .Cluster.ConfigItems.skipper_termination_grace_period }}
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
containers:
- name: skipper-ingress
image: "{{ .image }}"
terminationMessagePolicy: FallbackToLogsOnError
ports:
- name: ingress-port
containerPort: 9999
hostPort: 9999
protocol: TCP
{{ if or (eq .Cluster.ConfigItems.nlb_switch "pre") (eq .Cluster.ConfigItems.nlb_switch "exec") }}
- name: http-redirect
containerPort: 9998
hostPort: 9998
protocol: TCP
{{ end }}
env:
Expand Down