--- apiVersion: v1 kind: ConfigMap metadata: name: l5d-config data: config.yaml: |- namers: - kind: io.l5d.k8s routers: - protocol: http identifier: kind: io.l5d.ingress servers: - port: 80 ip: 0.0.0.0 clearContext: true dtab: /svc => /#/io.l5d.k8s usage: orgId: linkerd-examples-ingress --- apiVersion: extensions/v1beta1 kind: DaemonSet metadata: labels: app: l5d name: l5d spec: template: metadata: labels: app: l5d spec: volumes: - name: l5d-config configMap: name: "l5d-config" containers: - name: l5d image: harbor-001.jimmysong.io/library/buoyantio-linkerd:1.1.2 env: - name: POD_IP valueFrom: fieldRef: fieldPath: status.podIP args: - /io.buoyant/linkerd/config/config.yaml ports: - name: http containerPort: 80 hostPort: 80 - name: admin containerPort: 9990 volumeMounts: - name: "l5d-config" mountPath: "/io.buoyant/linkerd/config" readOnly: true - name: kubectl image: harbor-001.jimmysong.io/library/buoyantio-kubectl:v1.4.0 args: ["proxy", "-p", "8001"] --- apiVersion: v1 kind: Service metadata: name: l5d spec: selector: app: l5d type: LoadBalancer ports: - name: http port: 80 - name: admin port: 9990