Skip to content

Conversation

@rkage
Copy link
Member

@rkage rkage commented Feb 15, 2021

Signed-off-by: Nick M [email protected]

Description

Refactor of the HAProxy role.

Objectives

  • 2 Deployment modes; host package and manifest as part of the stacked control plane

@rkage rkage marked this pull request as draft February 15, 2021 15:25
- 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 }}'
Copy link
Member

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 }}
Copy link
Member

@xunholy xunholy Mar 4, 2021

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
Copy link
Member

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?

@brunnels
Copy link

Could you also add uninstall to the nuke playbook?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants