d31c040dc0
Operator can specify any port for kube-api (6443 default) This helps in case where some pods such as Ingress require 443 exclusively. Closes: 820 Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
11 lines
291 B
YAML
11 lines
291 B
YAML
---
|
|
- hosts: kube-master
|
|
|
|
tasks:
|
|
- name: Check the API servers are responding
|
|
uri:
|
|
url: "https://{{ access_ip | default(ansible_default_ipv4.address) }}:{{ kube_apiserver_port }}/api/v1"
|
|
user: kube
|
|
password: changeme
|
|
validate_certs: no
|
|
status_code: 200
|