Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
cristicalin committed Dec 6, 2021
1 parent 9c41917 commit 1b52d6a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/testcases/010_check-apiserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
- hosts: kube_control_plane

tasks:
- name: get kube-apiserver pods
command: |
journalctl -u kubelet.service
register: shell_out

- name: debug
debug:
msg: |
{{ shell_out }}
- name: Check the API servers are responding
uri:
url: "https://{{ access_ip | default(ansible_default_ipv4.address) }}:{{ kube_apiserver_port | default(6443) }}/version"
Expand Down

0 comments on commit 1b52d6a

Please sign in to comment.