mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
v1.18 support changes
This commit is contained in:
parent
90c9f7b3e1
commit
60272a7730
@ -9,9 +9,18 @@ metadata:
|
||||
addonmanager.kubernetes.io/mode: Reconcile
|
||||
kubernetes.io/name: "Elasticsearch"
|
||||
spec:
|
||||
clusterIP: None
|
||||
ports:
|
||||
- port: 9200
|
||||
- name: db
|
||||
port: 9200
|
||||
protocol: TCP
|
||||
targetPort: db
|
||||
targetPort: 9200
|
||||
- name: transport
|
||||
port: 9300
|
||||
protocol: TCP
|
||||
targetPort: 9300
|
||||
publishNotReadyAddresses: true
|
||||
selector:
|
||||
k8s-app: elasticsearch-logging
|
||||
sessionAffinity: None
|
||||
type: ClusterIP
|
||||
|
@ -18,11 +18,11 @@ metadata:
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- resources:
|
||||
- "services"
|
||||
- "namespaces"
|
||||
- "endpoints"
|
||||
verbs:
|
||||
- verbs:
|
||||
- "get"
|
||||
---
|
||||
kind: ClusterRoleBinding
|
||||
@ -104,6 +104,8 @@ spec:
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
- name: "MINIMUM_MASTER_NODES"
|
||||
value: "1"
|
||||
volumes:
|
||||
- name: elasticsearch-logging
|
||||
emptyDir: {}
|
||||
|
Loading…
Reference in New Issue
Block a user