v1.18 support changes
This commit is contained in:
@@ -9,9 +9,18 @@ metadata:
|
|||||||
addonmanager.kubernetes.io/mode: Reconcile
|
addonmanager.kubernetes.io/mode: Reconcile
|
||||||
kubernetes.io/name: "Elasticsearch"
|
kubernetes.io/name: "Elasticsearch"
|
||||||
spec:
|
spec:
|
||||||
|
clusterIP: None
|
||||||
ports:
|
ports:
|
||||||
- port: 9200
|
- name: db
|
||||||
|
port: 9200
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: db
|
targetPort: 9200
|
||||||
|
- name: transport
|
||||||
|
port: 9300
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 9300
|
||||||
|
publishNotReadyAddresses: true
|
||||||
selector:
|
selector:
|
||||||
k8s-app: elasticsearch-logging
|
k8s-app: elasticsearch-logging
|
||||||
|
sessionAffinity: None
|
||||||
|
type: ClusterIP
|
||||||
|
|||||||
@@ -18,11 +18,11 @@ metadata:
|
|||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resources:
|
- resources:
|
||||||
- "services"
|
- "services"
|
||||||
- "namespaces"
|
- "namespaces"
|
||||||
- "endpoints"
|
- "endpoints"
|
||||||
verbs:
|
- verbs:
|
||||||
- "get"
|
- "get"
|
||||||
---
|
---
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
@@ -104,6 +104,8 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
|
- name: "MINIMUM_MASTER_NODES"
|
||||||
|
value: "1"
|
||||||
volumes:
|
volumes:
|
||||||
- name: elasticsearch-logging
|
- name: elasticsearch-logging
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user