-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] refactor haproxy role #111
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Nick M <[email protected]>
Signed-off-by: Nick M <[email protected]>
@@ -1,21 +1,21 @@ | |||
--- | |||
- name: 'haproxy | ensure kubernetes manifests directory "{{ cluster_kubernetes_manifests_path }}" exists' | |||
- name: 'manifests | ensure kubernetes manifests directory "{{ cluster_kubernetes_manifests_path }}" exists' | |||
ansible.builtin.file: | |||
path: '{{ cluster_kubernetes_manifests_path }}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cluster_kubernetes_manifests_path
isn't being initialized in defaults or the group vars
{% endif -%} | ||
|
||
frontend apiserver | ||
bind {{ cluster_apiserver_frontend_ip }}:{{ cluster_apiserver_frontend_port }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cluster_apiserver_frontend_ip
& cluster_apiserver_frontend_port
isn't being initialized in defaults or the group vars
option httpchk GET /healthz | ||
http-check expect status 200 | ||
{% for host in groups['controlplane'] -%} | ||
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_default_ipv4'].address }}:{{ cluster_apiserver_port }} check check-ssl verify none |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cluster_apiserver_port
is a new var to replace cluster_apiserver_bind_port
?
Could you also add uninstall to the nuke playbook? |
Signed-off-by: Nick M [email protected]
Description
Refactor of the HAProxy role.
Objectives