-
Notifications
You must be signed in to change notification settings - Fork 5
Conversation
Skipping CI for Draft Pull Request. |
…mat is "ignition"
out of curiosity: which container-runtime is flatcar using per default? Do we have to explicity set the path to the socket? |
It's using containerd https://github.com/giantswarm/cluster-openstack/pull/85/files#diff-5d5883ddf8c1c53c57998dd4e264ba16884f7052542e6aaac0b5764c644985a7R20-R27 It's image-builder job to install it. |
Good work 👍 |
kubeadm_file="/run/kubeadm/kubeadm.yaml" | ||
fi | ||
|
||
cat "${dir}/gs-kube-proxy-config.yaml" >> "${dir}/kubeadm.yaml" |
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.
@@ -9,7 +9,8 @@ set -o errexit | |||
set -o nounset | |||
set -o pipefail | |||
|
|||
readonly dir="/run/kubeadm" | |||
dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |||
readonly dir | |||
|
|||
# Run this script only if this is the init node. | |||
if [[ ! -f ${dir}/kubeadm.yaml ]]; then |
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 understood this file was present only on flatcar
. Would this work on Ubuntu
? If the file is not present on Ubuntu
the script will do nothing.
Towards giantswarm/roadmap#778
Tested scenarios: