mirror of https://github.com/linkerd/linkerd2.git
Re-add the destination container to the controller spec (#3540)
* Re-add the destination container to the controller spec This fix is necessary to avoid data plane downtime during an upgrade to stable-2.6. All existing older proxies will continue to send requests to this destination container, until the data plane is restarted. On restart, the new pods will start forwarding their requests to the new linkerd-dst service. * Use the 2.6 destination service fqdn * Fixed unit tests * Fix integration test failure Signed-off-by: Ivan Sim <ivan@buoyant.io>
This commit is contained in:
parent
c5d68ecb16
commit
cf69dedf9c
|
@ -23,6 +23,25 @@ spec:
|
|||
port: 8085
|
||||
targetPort: 8085
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
namespace: {{.Namespace}}
|
||||
labels:
|
||||
{{.ControllerComponentLabel}}: controller
|
||||
{{.ControllerNamespaceLabel}}: {{.Namespace}}
|
||||
annotations:
|
||||
{{.CreatedByAnnotation}}: {{default (printf "linkerd/helm %s" .LinkerdVersion) .CliVersion}}
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
{{.ControllerComponentLabel}}: controller
|
||||
ports:
|
||||
- name: grpc
|
||||
port: 8086
|
||||
targetPort: 8086
|
||||
---
|
||||
{{ $_ := set .Proxy "WorkloadKind" "deployment" -}}
|
||||
{{ $_ := set .Proxy "Component" "linkerd-controller" -}}
|
||||
{{ include "linkerd.proxy.validation" .Proxy -}}
|
||||
|
@ -62,7 +81,7 @@ spec:
|
|||
- args:
|
||||
- public-api
|
||||
- -prometheus-url=http://linkerd-prometheus.{{.Namespace}}.svc.{{.ClusterDomain}}:9090
|
||||
- -destination-addr=linkerd-destination.{{.Namespace}}.svc.{{.ClusterDomain}}:8086
|
||||
- -destination-addr=linkerd-dst.{{.Namespace}}.svc.{{.ClusterDomain}}:8086
|
||||
- -controller-namespace={{.Namespace}}
|
||||
- -log-level={{.ControllerLogLevel}}
|
||||
image: {{.ControllerImage}}:{{default .LinkerdVersion .ControllerImageVersion}}
|
||||
|
@ -91,6 +110,38 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- args:
|
||||
- destination
|
||||
- -addr=:8086
|
||||
- -controller-namespace={{.Namespace}}
|
||||
- -enable-h2-upgrade={{.EnableH2Upgrade}}
|
||||
- -log-level={{.ControllerLogLevel}}
|
||||
image: {{.ControllerImage}}:{{default .LinkerdVersion .ControllerImageVersion}}
|
||||
imagePullPolicy: {{.ImagePullPolicy}}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 9996
|
||||
initialDelaySeconds: 10
|
||||
name: destination
|
||||
ports:
|
||||
- containerPort: 8086
|
||||
name: grpc
|
||||
- containerPort: 9996
|
||||
name: admin-http
|
||||
readinessProbe:
|
||||
failureThreshold: 7
|
||||
httpGet:
|
||||
path: /ready
|
||||
port: 9996
|
||||
{{- if .DestinationResources -}}
|
||||
{{- include "partials.resources" .DestinationResources | nindent 8 }}
|
||||
{{- end }}
|
||||
securityContext:
|
||||
runAsUser: {{.ControllerUID}}
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- {{- include "partials.proxy" . | indent 8 | trimPrefix (repeat 7 " ") }}
|
||||
{{ if not .NoInitContainer -}}
|
||||
initContainers:
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
name: linkerd-dst
|
||||
namespace: {{.Namespace}}
|
||||
labels:
|
||||
{{.ControllerComponentLabel}}: destination
|
||||
|
|
|
@ -3,7 +3,7 @@ env:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: {{.Proxy.LogLevel}}
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: {{ternary "localhost.:8086" (printf "linkerd-destination.%s.svc.%s:8086" .Namespace .ClusterDomain) (eq .Proxy.Component "linkerd-destination")}}
|
||||
value: {{ternary "localhost.:8086" (printf "linkerd-dst.%s.svc.%s:8086" .Namespace .ClusterDomain) (eq .Proxy.Component "linkerd-destination")}}
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:{{.Proxy.Ports.Control}}
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -31,7 +31,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -31,7 +31,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -185,7 +185,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -31,7 +31,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -42,7 +42,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -207,7 +207,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -372,7 +372,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -537,7 +537,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -42,7 +42,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -51,7 +51,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -42,7 +42,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -207,7 +207,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -48,7 +48,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -42,7 +42,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -42,7 +42,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -42,7 +42,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -43,7 +43,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -42,7 +42,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -43,7 +43,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -44,7 +44,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -44,7 +44,7 @@ items:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -203,7 +203,7 @@ items:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -44,7 +44,7 @@ items:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -203,7 +203,7 @@ items:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -25,7 +25,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -25,7 +25,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -42,7 +42,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -45,7 +45,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -213,7 +213,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -118,7 +118,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -270,6 +270,25 @@ spec:
|
|||
port: 8085
|
||||
targetPort: 8085
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: controller
|
||||
linkerd.io/control-plane-ns: linkerd
|
||||
annotations:
|
||||
linkerd.io/created-by: linkerd/cli dev-undefined
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
linkerd.io/control-plane-component: controller
|
||||
ports:
|
||||
- name: grpc
|
||||
port: 8086
|
||||
targetPort: 8086
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
@ -304,7 +323,7 @@ spec:
|
|||
- args:
|
||||
- public-api
|
||||
- -prometheus-url=http://linkerd-prometheus.linkerd.svc.cluster.local:9090
|
||||
- -destination-addr=linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
- -destination-addr=linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:install-control-plane-version
|
||||
|
@ -330,11 +349,40 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- args:
|
||||
- destination
|
||||
- -addr=:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -enable-h2-upgrade=true
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:install-control-plane-version
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 9996
|
||||
initialDelaySeconds: 10
|
||||
name: destination
|
||||
ports:
|
||||
- containerPort: 8086
|
||||
name: grpc
|
||||
- containerPort: 9996
|
||||
name: admin-http
|
||||
readinessProbe:
|
||||
failureThreshold: 7
|
||||
httpGet:
|
||||
path: /ready
|
||||
port: 9996
|
||||
securityContext:
|
||||
runAsUser: 2103
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- env:
|
||||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -467,7 +515,7 @@ spec:
|
|||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
name: linkerd-dst
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: destination
|
||||
|
@ -804,7 +852,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1135,7 +1183,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1409,7 +1457,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1610,7 +1658,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1841,7 +1889,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2060,7 +2108,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -867,7 +867,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1019,6 +1019,25 @@ spec:
|
|||
port: 8085
|
||||
targetPort: 8085
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: controller
|
||||
linkerd.io/control-plane-ns: linkerd
|
||||
annotations:
|
||||
linkerd.io/created-by: linkerd/cli dev-undefined
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
linkerd.io/control-plane-component: controller
|
||||
ports:
|
||||
- name: grpc
|
||||
port: 8086
|
||||
targetPort: 8086
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
@ -1053,7 +1072,7 @@ spec:
|
|||
- args:
|
||||
- public-api
|
||||
- -prometheus-url=http://linkerd-prometheus.linkerd.svc.cluster.local:9090
|
||||
- -destination-addr=linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
- -destination-addr=linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:install-control-plane-version
|
||||
|
@ -1079,11 +1098,40 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- args:
|
||||
- destination
|
||||
- -addr=:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -enable-h2-upgrade=true
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:install-control-plane-version
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 9996
|
||||
initialDelaySeconds: 10
|
||||
name: destination
|
||||
ports:
|
||||
- containerPort: 8086
|
||||
name: grpc
|
||||
- containerPort: 9996
|
||||
name: admin-http
|
||||
readinessProbe:
|
||||
failureThreshold: 7
|
||||
httpGet:
|
||||
path: /ready
|
||||
port: 9996
|
||||
securityContext:
|
||||
runAsUser: 2103
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- env:
|
||||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1216,7 +1264,7 @@ spec:
|
|||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
name: linkerd-dst
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: destination
|
||||
|
@ -1553,7 +1601,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1884,7 +1932,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2158,7 +2206,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2359,7 +2407,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2590,7 +2638,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2809,7 +2857,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -894,7 +894,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1052,6 +1052,25 @@ spec:
|
|||
port: 8085
|
||||
targetPort: 8085
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: controller
|
||||
linkerd.io/control-plane-ns: linkerd
|
||||
annotations:
|
||||
linkerd.io/created-by: linkerd/cli dev-undefined
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
linkerd.io/control-plane-component: controller
|
||||
ports:
|
||||
- name: grpc
|
||||
port: 8086
|
||||
targetPort: 8086
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
@ -1106,7 +1125,7 @@ spec:
|
|||
- args:
|
||||
- public-api
|
||||
- -prometheus-url=http://linkerd-prometheus.linkerd.svc.cluster.local:9090
|
||||
- -destination-addr=linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
- -destination-addr=linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:install-control-plane-version
|
||||
|
@ -1139,11 +1158,47 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- args:
|
||||
- destination
|
||||
- -addr=:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -enable-h2-upgrade=true
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:install-control-plane-version
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 9996
|
||||
initialDelaySeconds: 10
|
||||
name: destination
|
||||
ports:
|
||||
- containerPort: 8086
|
||||
name: grpc
|
||||
- containerPort: 9996
|
||||
name: admin-http
|
||||
readinessProbe:
|
||||
failureThreshold: 7
|
||||
httpGet:
|
||||
path: /ready
|
||||
port: 9996
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: "250Mi"
|
||||
requests:
|
||||
cpu: "100m"
|
||||
memory: "50Mi"
|
||||
securityContext:
|
||||
runAsUser: 2103
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- env:
|
||||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1282,7 +1337,7 @@ spec:
|
|||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
name: linkerd-dst
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: destination
|
||||
|
@ -1666,7 +1721,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2010,7 +2065,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2297,7 +2352,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2531,7 +2586,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2795,7 +2850,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -3047,7 +3102,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -894,7 +894,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1052,6 +1052,25 @@ spec:
|
|||
port: 8085
|
||||
targetPort: 8085
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: controller
|
||||
linkerd.io/control-plane-ns: linkerd
|
||||
annotations:
|
||||
linkerd.io/created-by: linkerd/cli dev-undefined
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
linkerd.io/control-plane-component: controller
|
||||
ports:
|
||||
- name: grpc
|
||||
port: 8086
|
||||
targetPort: 8086
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
@ -1106,7 +1125,7 @@ spec:
|
|||
- args:
|
||||
- public-api
|
||||
- -prometheus-url=http://linkerd-prometheus.linkerd.svc.cluster.local:9090
|
||||
- -destination-addr=linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
- -destination-addr=linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:install-control-plane-version
|
||||
|
@ -1139,11 +1158,47 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- args:
|
||||
- destination
|
||||
- -addr=:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -enable-h2-upgrade=true
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:install-control-plane-version
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 9996
|
||||
initialDelaySeconds: 10
|
||||
name: destination
|
||||
ports:
|
||||
- containerPort: 8086
|
||||
name: grpc
|
||||
- containerPort: 9996
|
||||
name: admin-http
|
||||
readinessProbe:
|
||||
failureThreshold: 7
|
||||
httpGet:
|
||||
path: /ready
|
||||
port: 9996
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: "250Mi"
|
||||
requests:
|
||||
cpu: "100m"
|
||||
memory: "50Mi"
|
||||
securityContext:
|
||||
runAsUser: 2103
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- env:
|
||||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1282,7 +1337,7 @@ spec:
|
|||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
name: linkerd-dst
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: destination
|
||||
|
@ -1666,7 +1721,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2010,7 +2065,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2297,7 +2352,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2531,7 +2586,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2795,7 +2850,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -3047,7 +3102,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -952,7 +952,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1097,6 +1097,25 @@ spec:
|
|||
port: 8085
|
||||
targetPort: 8085
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: controller
|
||||
linkerd.io/control-plane-ns: linkerd
|
||||
annotations:
|
||||
linkerd.io/created-by: linkerd/helm linkerd-version
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
linkerd.io/control-plane-component: controller
|
||||
ports:
|
||||
- name: grpc
|
||||
port: 8086
|
||||
targetPort: 8086
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
@ -1131,7 +1150,7 @@ spec:
|
|||
- args:
|
||||
- public-api
|
||||
- -prometheus-url=http://linkerd-prometheus.linkerd.svc.cluster.local:9090
|
||||
- -destination-addr=linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
- -destination-addr=linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:linkerd-version
|
||||
|
@ -1157,11 +1176,40 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- args:
|
||||
- destination
|
||||
- -addr=:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -enable-h2-upgrade=true
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:linkerd-version
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 9996
|
||||
initialDelaySeconds: 10
|
||||
name: destination
|
||||
ports:
|
||||
- containerPort: 8086
|
||||
name: grpc
|
||||
- containerPort: 9996
|
||||
name: admin-http
|
||||
readinessProbe:
|
||||
failureThreshold: 7
|
||||
httpGet:
|
||||
path: /ready
|
||||
port: 9996
|
||||
securityContext:
|
||||
runAsUser: 2103
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- env:
|
||||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1287,7 +1335,7 @@ spec:
|
|||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
name: linkerd-dst
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: destination
|
||||
|
@ -1619,7 +1667,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1943,7 +1991,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2210,7 +2258,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2404,7 +2452,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2628,7 +2676,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2840,7 +2888,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -979,7 +979,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1130,6 +1130,25 @@ spec:
|
|||
port: 8085
|
||||
targetPort: 8085
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: controller
|
||||
linkerd.io/control-plane-ns: linkerd
|
||||
annotations:
|
||||
linkerd.io/created-by: linkerd/helm linkerd-version
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
linkerd.io/control-plane-component: controller
|
||||
ports:
|
||||
- name: grpc
|
||||
port: 8086
|
||||
targetPort: 8086
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
@ -1184,7 +1203,7 @@ spec:
|
|||
- args:
|
||||
- public-api
|
||||
- -prometheus-url=http://linkerd-prometheus.linkerd.svc.cluster.local:9090
|
||||
- -destination-addr=linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
- -destination-addr=linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:linkerd-version
|
||||
|
@ -1217,11 +1236,47 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- args:
|
||||
- destination
|
||||
- -addr=:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -enable-h2-upgrade=true
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:linkerd-version
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 9996
|
||||
initialDelaySeconds: 10
|
||||
name: destination
|
||||
ports:
|
||||
- containerPort: 8086
|
||||
name: grpc
|
||||
- containerPort: 9996
|
||||
name: admin-http
|
||||
readinessProbe:
|
||||
failureThreshold: 7
|
||||
httpGet:
|
||||
path: /ready
|
||||
port: 9996
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: "250Mi"
|
||||
requests:
|
||||
cpu: "100m"
|
||||
memory: "50Mi"
|
||||
securityContext:
|
||||
runAsUser: 2103
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- env:
|
||||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1353,7 +1408,7 @@ spec:
|
|||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
name: linkerd-dst
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: destination
|
||||
|
@ -1732,7 +1787,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2069,7 +2124,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2349,7 +2404,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2576,7 +2631,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2833,7 +2888,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -3078,7 +3133,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -864,7 +864,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -983,6 +983,25 @@ spec:
|
|||
port: 8085
|
||||
targetPort: 8085
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: controller
|
||||
linkerd.io/control-plane-ns: linkerd
|
||||
annotations:
|
||||
linkerd.io/created-by: linkerd/cli dev-undefined
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
linkerd.io/control-plane-component: controller
|
||||
ports:
|
||||
- name: grpc
|
||||
port: 8086
|
||||
targetPort: 8086
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
@ -1017,7 +1036,7 @@ spec:
|
|||
- args:
|
||||
- public-api
|
||||
- -prometheus-url=http://linkerd-prometheus.linkerd.svc.cluster.local:9090
|
||||
- -destination-addr=linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
- -destination-addr=linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:install-control-plane-version
|
||||
|
@ -1043,11 +1062,40 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- args:
|
||||
- destination
|
||||
- -addr=:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -enable-h2-upgrade=true
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:install-control-plane-version
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 9996
|
||||
initialDelaySeconds: 10
|
||||
name: destination
|
||||
ports:
|
||||
- containerPort: 8086
|
||||
name: grpc
|
||||
- containerPort: 9996
|
||||
name: admin-http
|
||||
readinessProbe:
|
||||
failureThreshold: 7
|
||||
httpGet:
|
||||
path: /ready
|
||||
port: 9996
|
||||
securityContext:
|
||||
runAsUser: 2103
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- env:
|
||||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1147,7 +1195,7 @@ spec:
|
|||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
name: linkerd-dst
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: destination
|
||||
|
@ -1451,7 +1499,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1749,7 +1797,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1990,7 +2038,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2158,7 +2206,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2356,7 +2404,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2542,7 +2590,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -867,7 +867,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.Namespace.svc.cluster.local:8086
|
||||
value: linkerd-dst.Namespace.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1018,6 +1018,25 @@ spec:
|
|||
port: 8085
|
||||
targetPort: 8085
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
namespace: Namespace
|
||||
labels:
|
||||
ControllerComponentLabel: controller
|
||||
ControllerNamespaceLabel: Namespace
|
||||
annotations:
|
||||
CreatedByAnnotation: CliVersion
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
ControllerComponentLabel: controller
|
||||
ports:
|
||||
- name: grpc
|
||||
port: 8086
|
||||
targetPort: 8086
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
@ -1052,7 +1071,7 @@ spec:
|
|||
- args:
|
||||
- public-api
|
||||
- -prometheus-url=http://linkerd-prometheus.Namespace.svc.cluster.local:9090
|
||||
- -destination-addr=linkerd-destination.Namespace.svc.cluster.local:8086
|
||||
- -destination-addr=linkerd-dst.Namespace.svc.cluster.local:8086
|
||||
- -controller-namespace=Namespace
|
||||
- -log-level=ControllerLogLevel
|
||||
image: ControllerImage:ControllerImageVersion
|
||||
|
@ -1078,11 +1097,40 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- args:
|
||||
- destination
|
||||
- -addr=:8086
|
||||
- -controller-namespace=Namespace
|
||||
- -enable-h2-upgrade=true
|
||||
- -log-level=ControllerLogLevel
|
||||
image: ControllerImage:ControllerImageVersion
|
||||
imagePullPolicy: ImagePullPolicy
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 9996
|
||||
initialDelaySeconds: 10
|
||||
name: destination
|
||||
ports:
|
||||
- containerPort: 8086
|
||||
name: grpc
|
||||
- containerPort: 9996
|
||||
name: admin-http
|
||||
readinessProbe:
|
||||
failureThreshold: 7
|
||||
httpGet:
|
||||
path: /ready
|
||||
port: 9996
|
||||
securityContext:
|
||||
runAsUser: 2103
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- env:
|
||||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.Namespace.svc.cluster.local:8086
|
||||
value: linkerd-dst.Namespace.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1214,7 +1262,7 @@ spec:
|
|||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
name: linkerd-dst
|
||||
namespace: Namespace
|
||||
labels:
|
||||
ControllerComponentLabel: destination
|
||||
|
@ -1550,7 +1598,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.Namespace.svc.cluster.local:8086
|
||||
value: linkerd-dst.Namespace.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1880,7 +1928,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.Namespace.svc.cluster.local:8086
|
||||
value: linkerd-dst.Namespace.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2153,7 +2201,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.Namespace.svc.cluster.local:8086
|
||||
value: linkerd-dst.Namespace.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2353,7 +2401,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.Namespace.svc.cluster.local:8086
|
||||
value: linkerd-dst.Namespace.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2583,7 +2631,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.Namespace.svc.cluster.local:8086
|
||||
value: linkerd-dst.Namespace.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2801,7 +2849,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.Namespace.svc.cluster.local:8086
|
||||
value: linkerd-dst.Namespace.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -867,7 +867,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1020,6 +1020,25 @@ spec:
|
|||
port: 8085
|
||||
targetPort: 8085
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: controller
|
||||
linkerd.io/control-plane-ns: linkerd
|
||||
annotations:
|
||||
linkerd.io/created-by: linkerd/cli dev-undefined
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
linkerd.io/control-plane-component: controller
|
||||
ports:
|
||||
- name: grpc
|
||||
port: 8086
|
||||
targetPort: 8086
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
@ -1054,7 +1073,7 @@ spec:
|
|||
- args:
|
||||
- public-api
|
||||
- -prometheus-url=http://linkerd-prometheus.linkerd.svc.cluster.local:9090
|
||||
- -destination-addr=linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
- -destination-addr=linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:UPGRADE-CONTROL-PLANE-VERSION
|
||||
|
@ -1080,11 +1099,40 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- args:
|
||||
- destination
|
||||
- -addr=:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -enable-h2-upgrade=true
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:UPGRADE-CONTROL-PLANE-VERSION
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 9996
|
||||
initialDelaySeconds: 10
|
||||
name: destination
|
||||
ports:
|
||||
- containerPort: 8086
|
||||
name: grpc
|
||||
- containerPort: 9996
|
||||
name: admin-http
|
||||
readinessProbe:
|
||||
failureThreshold: 7
|
||||
httpGet:
|
||||
path: /ready
|
||||
port: 9996
|
||||
securityContext:
|
||||
runAsUser: 2103
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- env:
|
||||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1218,7 +1266,7 @@ spec:
|
|||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
name: linkerd-dst
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: destination
|
||||
|
@ -1556,7 +1604,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1888,7 +1936,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2163,7 +2211,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2365,7 +2413,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2597,7 +2645,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2817,7 +2865,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -894,7 +894,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1053,6 +1053,25 @@ spec:
|
|||
port: 8085
|
||||
targetPort: 8085
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: controller
|
||||
linkerd.io/control-plane-ns: linkerd
|
||||
annotations:
|
||||
linkerd.io/created-by: linkerd/cli dev-undefined
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
linkerd.io/control-plane-component: controller
|
||||
ports:
|
||||
- name: grpc
|
||||
port: 8086
|
||||
targetPort: 8086
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
@ -1107,7 +1126,7 @@ spec:
|
|||
- args:
|
||||
- public-api
|
||||
- -prometheus-url=http://linkerd-prometheus.linkerd.svc.cluster.local:9090
|
||||
- -destination-addr=linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
- -destination-addr=linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:UPGRADE-CONTROL-PLANE-VERSION
|
||||
|
@ -1140,11 +1159,47 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- args:
|
||||
- destination
|
||||
- -addr=:8086
|
||||
- -controller-namespace=linkerd
|
||||
- -enable-h2-upgrade=true
|
||||
- -log-level=info
|
||||
image: gcr.io/linkerd-io/controller:UPGRADE-CONTROL-PLANE-VERSION
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 9996
|
||||
initialDelaySeconds: 10
|
||||
name: destination
|
||||
ports:
|
||||
- containerPort: 8086
|
||||
name: grpc
|
||||
- containerPort: 9996
|
||||
name: admin-http
|
||||
readinessProbe:
|
||||
failureThreshold: 7
|
||||
httpGet:
|
||||
path: /ready
|
||||
port: 9996
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: "250Mi"
|
||||
requests:
|
||||
cpu: "100m"
|
||||
memory: "50Mi"
|
||||
securityContext:
|
||||
runAsUser: 2103
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/linkerd/config
|
||||
name: config
|
||||
- env:
|
||||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -1284,7 +1339,7 @@ spec:
|
|||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: linkerd-destination
|
||||
name: linkerd-dst
|
||||
namespace: linkerd
|
||||
labels:
|
||||
linkerd.io/control-plane-component: destination
|
||||
|
@ -1669,7 +1724,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2014,7 +2069,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2302,7 +2357,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2537,7 +2592,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -2802,7 +2857,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
@ -3055,7 +3110,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.linkerd.svc.cluster.local:8086
|
||||
value: linkerd-dst.linkerd.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
},
|
||||
{
|
||||
"name": "LINKERD2_PROXY_DESTINATION_SVC_ADDR",
|
||||
"value": "linkerd-destination.linkerd.svc.cluster.local:8086"
|
||||
"value": "linkerd-dst.linkerd.svc.cluster.local:8086"
|
||||
},
|
||||
{
|
||||
"name": "LINKERD2_PROXY_CONTROL_LISTEN_ADDR",
|
||||
|
|
|
@ -25,6 +25,7 @@ func TestGoodEndpoints(t *testing.T) {
|
|||
"endpoints",
|
||||
fmt.Sprintf("linkerd-controller-api.%s.svc.cluster.local:8085", ns),
|
||||
fmt.Sprintf("linkerd-destination.%s.svc.cluster.local:8086", ns),
|
||||
fmt.Sprintf("linkerd-dst.%s.svc.cluster.local:8086", ns),
|
||||
fmt.Sprintf("linkerd-grafana.%s.svc.cluster.local:3000", ns),
|
||||
fmt.Sprintf("linkerd-identity.%s.svc.cluster.local:8080", ns),
|
||||
fmt.Sprintf("linkerd-prometheus.%s.svc.cluster.local:9090", ns),
|
||||
|
|
|
@ -10,9 +10,16 @@
|
|||
"namespace": "{{.Ns}}",
|
||||
"ip": "\d+\.\d+\.\d+\.\d+",
|
||||
"port": 8086,
|
||||
"pod": "linkerd\-destination\-[a-f0-9]+\-[a-z0-9]+",
|
||||
"pod": "linkerd\-controller\-[a-f0-9]+\-[a-z0-9]+",
|
||||
"service": "linkerd\-destination\.{{.Ns}}"
|
||||
\},
|
||||
\{
|
||||
"namespace": "{{.Ns}}",
|
||||
"ip": "\d+\.\d+\.\d+\.\d+",
|
||||
"port": 8086,
|
||||
"pod": "linkerd\-destination\-[a-f0-9]+\-[a-z0-9]+",
|
||||
"service": "linkerd\-dst\.{{.Ns}}"
|
||||
\},
|
||||
\{
|
||||
"namespace": "{{.Ns}}",
|
||||
"ip": "\d+\.\d+\.\d+\.\d+",
|
||||
|
|
|
@ -40,7 +40,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn,linkerd2_proxy=info
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.fake-ns.svc.cluster.local:8086
|
||||
value: linkerd-dst.fake-ns.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:4190
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
|
@ -55,7 +55,7 @@ spec:
|
|||
- name: LINKERD2_PROXY_LOG
|
||||
value: warn
|
||||
- name: LINKERD2_PROXY_DESTINATION_SVC_ADDR
|
||||
value: linkerd-destination.fake-ns.svc.cluster.local:8086
|
||||
value: linkerd-dst.fake-ns.svc.cluster.local:8086
|
||||
- name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR
|
||||
value: 0.0.0.0:123
|
||||
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
|
||||
|
|
Loading…
Reference in New Issue