update
This commit is contained in:
@@ -15,20 +15,3 @@
|
||||
- name: 4. Check Kubernetes Pods (base)
|
||||
command: "{{ role_path }}/files/k8s_status {{ cmoa_namespace }}"
|
||||
|
||||
|
||||
- name: 5. Change a Elasticsearch Service (NodePort=elasticsearch_nodePort)
|
||||
kubernetes.core.k8s:
|
||||
state: present
|
||||
definition:
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: "{{ elasticsearch_service_name }}"
|
||||
namespace: "{{ cmoa_namespace }}"
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: "{{ elasticsearch_service_port }}"
|
||||
nodePort: "{{ elasticsearch_nodePort }}"
|
||||
apply: yes
|
||||
|
||||
Reference in New Issue
Block a user