kind: Deployment
apiVersion: apps/v1
metadata:
        name: traefik-ingress
        namespace: kube-system
        labels:
                k8s-app: traefik-ingress-lb
spec:
        replicas: 1
        selector:
                matchLabels:
                        k8s-app: traefik-ingress-lb
        template:
                metadata:
                        labels:
                                k8s-app: traefik-ingress-lb
                                name: traefik-ingress-lb
                spec:
                        serviceAccountName: traefik-ingress
                        terminationGracePeriodSeconds: 60
                        containers:
                        - image: traefik:v1.7.18-alpine
                          name: traefik-ingress-lb
                          ports:
                          - name: http
                            containerPort: 80
                          - name: https
                            containerPort: 443
                          - name: admin
                            containerPort: 8080
                          args:
                          - --api
                          - --kubernetes
                          - --logLevel=INFO
                          - --insecureSkipVerify=true
                            #- --api.insecure=true
