Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

Fix all-in-one start failed at k8s 1.16 #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
18 changes: 16 additions & 2 deletions all-in-one/jaeger-all-in-one-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
apiVersion: v1
kind: List
items:
- apiVersion: extensions/v1beta1
- apiVersion: apps/v1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this cause failing in older k8s versions? Is extensions/v1beta1 supported in k8s 1.16?

kind: Deployment
metadata:
name: jaeger
Expand All @@ -24,6 +24,9 @@ items:
app.kubernetes.io/name: jaeger
app.kubernetes.io/component: all-in-one
spec:
selector:
matchLabels:
app: jaeger
replicas: 1
strategy:
type: Recreate
Expand Down Expand Up @@ -70,6 +73,9 @@ items:
app.kubernetes.io/name: jaeger
app.kubernetes.io/component: query
spec:
selector:
matchLabels:
app: jaeger-query
ports:
- name: query-http
port: 80
Expand All @@ -88,6 +94,9 @@ items:
app.kubernetes.io/name: jaeger
app.kubernetes.io/component: collector
spec:
selector:
matchLabels:
app: jaeger-collector
ports:
- name: jaeger-collector-tchannel
port: 14267
Expand All @@ -114,6 +123,9 @@ items:
app.kubernetes.io/name: jaeger
app.kubernetes.io/component: agent
spec:
selector:
matchLabels:
app: jaeger-agent
ports:
- name: agent-zipkin-thrift
port: 5775
Expand Down Expand Up @@ -144,6 +156,9 @@ items:
app.kubernetes.io/name: jaeger
app.kubernetes.io/component: zipkin
spec:
selector:
matchLabels:
app: zipkin
ports:
- name: jaeger-collector-zipkin
port: 9411
Expand All @@ -153,4 +168,3 @@ items:
selector:
app.kubernetes.io/name: jaeger
app.kubernetes.io/component: all-in-one