Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions infra/aks-master
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
cat <<EOF >>/etc/bashrc
PS1='[\u@bastion-'$cluster' \W]\$ '
EOF

while ! rpm --import https://packages.microsoft.com/keys/microsoft.asc; do
sleep 2
done
Expand Down
4 changes: 4 additions & 0 deletions infra/eks-master
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
cat <<EOF >>/etc/bashrc
PS1='[\u@bastion-'$cluster' \W]\$ '
EOF

curl -sL -o /usr/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.23.6/bin/linux/amd64/kubectl
chmod 755 /usr/bin/kubectl

Expand Down
14 changes: 4 additions & 10 deletions infra/gke-master
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
cat <<EOF >>/etc/bashrc
PS1='[\u@bastion-'$cluster' \W]\$ '
EOF

GKE_CLUSTER_NAME=px-deploy-$name-$cluster

dnf install -y docker google-cloud-cli-gke-gcloud-auth-plugin
systemctl enable --now docker

#curl -L https://github.com/containerd/containerd/releases/download/v1.6.15/containerd-1.6.15-linux-amd64.tar.gz | tar Cxzvf /usr/local -
#curl -o /etc/systemd/system/containerd.service https://raw.githubusercontent.com/containerd/containerd/main/containerd.service
#mkdir /etc/containerd
#containerd config default | sed 's/SystemdCgroup = false/SystemdCgroup = true/' >/etc/containerd/config.toml
#curl -Lo /usr/sbin/runc https://github.com/opencontainers/runc/releases/download/v1.1.4/runc.amd64
#chmod 755 /usr/sbin/runc
#systemctl daemon-reload
#systemctl enable --now containerd
#systemctl enable --now podman

curl -sL -o /usr/bin/kubectl "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
chmod 755 /usr/bin/kubectl

Expand Down
4 changes: 4 additions & 0 deletions infra/ocp4-master
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
cat <<EOF >>/etc/bashrc
PS1='[\u@bastion-'$cluster' \W]\$ '
EOF

dnf install -y docker wget
systemctl enable --now docker

Expand Down
4 changes: 4 additions & 0 deletions infra/rancher-master
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
cat <<EOF >>/etc/bashrc
PS1='[\u@bastion-'$cluster' \W]\$ '
EOF

repo=$(echo $rancher_k8s_version | cut -f 1,2 -d .)
cat <<EOF >/etc/yum.repos.d/kubernetes.repo
[kubernetes]
Expand Down
Loading