Created
April 29, 2018 10:00
-
-
Save trondhindenes/a260744ed4178800534ed0ddfff04244 to your computer and use it in GitHub Desktop.
traefik_daemonset_example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
name: traefik-ingress-controller-internal-httpsecure-{{ environment }} | |
namespace: networking | |
labels: | |
app: traefik-ingress-lb-internal-httpsecure | |
environment: "{{ environment }}" | |
environmentid: "{{ environmentid }}" | |
majorversion: "{{ major_version }}" | |
spec: | |
minReadySeconds: 60 | |
updateStrategy: | |
type: RollingUpdate | |
rollingUpdate: | |
maxUnavailable: 1 | |
template: | |
metadata: | |
labels: | |
name: traefik-ingress-lb-internal-httpsecure-{{ environment }} | |
spec: | |
serviceAccountName: traefik-ingress-controller-{{ environment }} | |
terminationGracePeriodSeconds: 60 | |
imagePullSecrets: | |
- name: ecr | |
containers: | |
- image: "{{ docker_image }}:{{ version }}" | |
name: traefik-ingress-lb-internal-httpsecure | |
imagePullPolicy: "Always" | |
env: | |
- name: TRAEFIK_LABEL_SELECTOR | |
value: 'expose=internal-httpsecure' | |
ports: | |
- name: httpsecure | |
containerPort: 80 | |
hostPort: 10001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment