-
Notifications
You must be signed in to change notification settings - Fork 45
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
Control Plane Ingress IP managed by MetalLB #3418
Conversation
e355e68
to
a406960
Compare
baeafb5
to
a5cbc26
Compare
4eac18e
to
d3e36a4
Compare
9fdc17e
to
dd0d8b8
Compare
d3e36a4
to
4fe7cac
Compare
dd0d8b8
to
218f9fe
Compare
Hello teddyandrieux,My role is to assist you with the merge of this Status report is not available. |
ConflictThere is a conflict between your branch Please resolve the conflict on the feature branch ( $ git fetch
$ git checkout origin/improvement/ha-control-plane-ingress
$ git merge origin/development/2.10
$ # <intense conflict resolution>
$ git commit
$ git push origin HEAD:improvement/ha-control-plane-ingress |
218f9fe
to
52d3005
Compare
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
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.
Initial review, will go over the tests after lunch 🍖
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.
I think we can be more flexible on the tests, but overall approach LGTM 👌
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
The following reviewers are expecting changes from the author, or must review again: |
c1ffca8
to
e8e5046
Compare
041a5ab
to
754dd18
Compare
dd167cd
to
ac6c68b
Compare
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
The following reviewers are expecting changes from the author, or must review again: |
In order to support HA control plane ingress and to make things configurable to support different type of environment we need to deploy this nginx ingress control plane as a DaemonSet in some case and as a Deployment in some others Render command: ``` ./charts/render.py ingress-nginx-control-plane --namespace metalk8s-ingress \ charts/ingress-nginx-control-plane-daemonset.yaml charts/ingress-nginx/ \ > salt/metalk8s/addons/nginx-ingress-control-plane/deployed/chart-daemonset.sls ```
In order to do a "replace" on a Kubernetes Service of type `LoadBalancer` we need to keep the old object `healthCheckNodePort` otherwise apiserver will reject the "replace"
Commands: ``` helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update helm fetch -d charts --untar bitnami/metallb ```
As part of MetalK8s we will use metallb for control plane ingress if this one is enabled in the Bootstrap Config Chart get rendered with this command: ``` ./charts/render.py metallb --namespace metalk8s-loadbalancing \ charts/metallb.yaml charts/metallb/ \ > salt/metalk8s/addons/metallb/deployed/chart.sls ``` NOTE: When we use metallb we do not need to use Nginx Ingress as a DaemonSet, instead we use a Deployment Nginx Ingress Control Plane deployment get rendered with this command: ``` ./charts/render.py ingress-nginx-control-plane --namespace metalk8s-ingress \ charts/ingress-nginx-control-plane-deployment.yaml charts/ingress-nginx/ \ > salt/metalk8s/addons/nginx-ingress-control-plane/deployed/chart-deployment.sls ``` Fixes: #2381
ac6c68b
to
f58862d
Compare
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.
Awesome, thanks again @TeddyAndrieux 🚀!
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
/approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue None. Goodbye teddyandrieux. |
Component:
'salt', 'network'
Context:
Allow MetalK8s to manage Control Plane Ingress IP with MetalLB
Summary:
Fixes: #2381