-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstaller.sh
executable file
·27 lines (23 loc) · 948 Bytes
/
installer.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c)
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
set -o pipefail
set -o errexit
set -o nounset
export KRD_CERT_MANAGER_ENABLED=false
export KRD_INGRESS_NGINX_ENABLED=false
export KRD_KUBE_VERSION=v1.18.10
export KRD_ADDONS_LIST=virtlet
export KRD_ACTIONS_LIST="install_k8s,install_k8s_addons"
curl -fsSL http://bit.ly/KRDaio | bash
if ! command -v mkpasswd; then
curl -fsSL http://bit.ly/install_pkg | PKG=whois bash
fi
# Wait for Virtlet services
kubectl rollout status daemonset.apps/virtlet -n kube-system --timeout=5m