Skip to content

Commit 4693148

Browse files
committed
Deploy cert-manager immediately after provisioning master nodes
1 parent 46fa1c8 commit 4693148

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

docs/modules/ROOT/partials/install/bootstrap-nodes.adoc

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,38 @@ terraform apply
150150

151151
ifeval::["{provider}" == "cloudscale"]
152152
. Add the DNS records for etcd shown in output variable `dns_entries` from the previous step to the cluster's parent zone
153+
endif::[]
154+
155+
. Wait for master nodes to become ready
156+
+
157+
TIP: This is optional, but will make the subsequent steps less likely to run into weird timeouts.
158+
+
159+
[source,bash]
160+
----
161+
kubectl wait --for condition=ready node -l node-role.kubernetes.io/master
162+
----
163+
164+
. Deploy cert-manager
165+
+
166+
[NOTE]
167+
====
168+
We need to deploy cert-manager early so we can use the cert-manager integration in the Cilium Helm chart.
169+
ifeval::["{provider}" == "cloudscale"]
170+
171+
On cloudscale, we additionally need cert-manager in order to deploy the cloudscale-loadbalancer-controller.
172+
endif::[]
173+
====
174+
+
175+
[source,bash]
176+
----
177+
kubectl apply -f ../cert-manager/00_namespace.yaml
178+
kubectl apply -Rf ../cert-manager/10_cert_manager
179+
kubectl -n syn-cert-manager patch --type=merge \
180+
$(kubectl -n syn-cert-manager get deploy -oname) \
181+
-p '{"spec":{"template":{"spec":{"tolerations":[{"operator":"Exists"}]}}}}'
182+
----
153183

184+
ifeval::["{provider}" == "cloudscale"]
154185
. Apply the manifests for the cloudscale machine-api provider
155186
+
156187
[source,bash,subs="attributes+"]

0 commit comments

Comments
 (0)