You can follow the Getting Started guide to install Deckhouse.
For example, to install Deckhouse on a bare metal you have to follow next steps:
$ cat > config.yml <<EOF
apiVersion: deckhouse.io/v1
kind: ClusterConfiguration
clusterType: Static
podSubnetCIDR: 10.111.0.0/16
serviceSubnetCIDR: 10.222.0.0/16
kubernetesVersion: "1.29"
clusterDomain: "cluster.local"
---
apiVersion: deckhouse.io/v1
kind: InitConfiguration
deckhouse:
releaseChannel: Stable
configOverrides:
global:
modules:
publicDomainTemplate: "%s.example.com"
cniFlannelEnabled: true
cniFlannel:
podNetworkMode: VXLAN
---
apiVersion: deckhouse.io/v1
kind: StaticClusterConfiguration
internalNetworkCIDRs:
- 192.168.0.0/24
EOF
$ docker run -it -v "$PWD/config.yml:/config.yml" -v "$HOME/.ssh/:/tmp/.ssh/" \
registry.deckhouse.io/deckhouse/ce/install:stable bash
# dhctl bootstrap \
--ssh-user=<username> \
--ssh-host=<master_ip> \
--ssh-agent-private-keys=/tmp/.ssh/id_rsa \
--config=/config.yml
username
variable here refers to the user that generated the SSH key.
master_ip
is an IP address of your machine
After the installation is complete, you will be returned to the command line.
$ ssh <username>@<master_ip>
$ sudo -i
Admin kubernetes config symlinked to /root/.kube/config. You can run further commands with root privilege
# kubectl patch nodegroup master --type json -p '[{"op": "remove", "path": "/spec/nodeTemplate/taints"}]'
5.1 Or you can add more nodes via this guide
1. Download a binary release of the CLI.
Like this:
# wget https://github.com/vmware-tanzu/sonobuoy/releases/download/v0.57.1/sonobuoy_0.57.1_linux_amd64.tar.gz
# tar xzf sonobuoy_0.57.1_linux_amd64.tar.gz
# ./sonobuoy run --mode=certified-conformance
# ./sonobuoy status
# ./sonobuoy logs
5. Once sonobuoy status
shows the run as completed
, copy the output directory from the main Sonobuoy pod to
a local directory:
# ./sonobuoy retrieve .
This copies a single .tar.gz
snapshot from the Sonobuoy pod into your local .
directory. Extract the contents into ./results
with:
# mkdir ./results; tar xzf *.tar.gz -C ./results
# ./sonobuoy delete