Skip to content

Commit

Permalink
Change apiVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
dbelev committed Jun 25, 2020
1 parent 65661a8 commit 959c7bb
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions helm/native-ingester/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Values.service.name }}
name: {{ .Values.service.name }}
labels:
chart: "{{ .Chart.Name | trunc 63 }}"
chartVersion: "{{ .Chart.Version | trunc 63 }}"
visualize: "true"
app: {{ .Values.service.name }}
chartVersion: "{{ .Chart.Version | trunc 63 }}"
visualize: "true"
app: {{ .Values.service.name }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ .Values.service.name }}
template:
metadata:
labels:
app: {{ .Values.service.name }}
visualize: "true"
visualize: "true"
spec:
affinity:
podAntiAffinity:
Expand All @@ -28,8 +28,8 @@ spec:
values:
- {{ .Values.service.name }}
topologyKey: "kubernetes.io/hostname"
containers:
- name: {{ .Values.service.name }}
containers:
- name: {{ .Values.service.name }}
image: "{{ .Values.image.repository }}:{{ .Chart.Version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
Expand Down Expand Up @@ -61,18 +61,18 @@ spec:
value: {{ .Values.env.QUEUE_WRITE_TOPIC }}
- name: PANIC_GUIDE_URL
value: {{ .Values.env.PANIC_GUIDE_URL }}
ports:
- containerPort: 8080
livenessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 10
readinessProbe:
httpGet:
path: "/__gtg"
port: 8080
ports:
- containerPort: 8080
livenessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 10
readinessProbe:
httpGet:
path: "/__gtg"
port: 8080
initialDelaySeconds: 15
periodSeconds: 30
resources:
periodSeconds: 30
resources:
{{ toYaml .Values.resources | indent 12 }}

0 comments on commit 959c7bb

Please sign in to comment.