This commit is contained in:
abikouo
2021-05-19 15:58:43 +02:00
parent ac97df6565
commit dd821f06aa
8 changed files with 187 additions and 52 deletions

View File

@@ -238,11 +238,19 @@ EXAMPLES = r'''
reason: DeploymentPaused
# Wait for this service to have acquired an External IP
- name: Deploy the dashboard service (lb)
- name: Create ingress and wait for ip to be assigned
kubernetes.core.k8s:
template: dash-service.yaml
wait: yes
wait_for: .status.loadBalancer.ingress[*].ip
wait_property:
property: status.loadBalancer.ingress[*].ip
- name: Create Pod and wait for containers for be running
kubernetes.core.k8s:
template: pod.yaml
wait: yes
wait_property:
property: status.containerStatuses[*].state.running
'''
RETURN = r'''