15 lines
695 B
Plaintext
15 lines
695 B
Plaintext
# Run kubespray 2.30.0 docker container with preconfig inventory
|
|
docker run --rm -it --mount type=bind,source="$(pwd)"/inventory/duynguyen-cluster,dst=/inventory --mount type=bind,source="${HOME}"/.ssh/id_ed25519,dst=/root/.ssh/id_rsa quay.io/kubespray/kubespray:v2.30.0 bash
|
|
|
|
# Inside the container you may now run the kubespray playbooks:
|
|
ansible-playbook -i /inventory/inventory.ini --private-key /root/.ssh/id_rsa cluster.yml
|
|
|
|
# Install longhorn command with helm
|
|
helm install longhorn longhorn/longhorn --namespace longhorn-system --create-namespace --version 1.11.1 -f values.yaml
|
|
|
|
# Install metallb, IPaddresspool
|
|
|
|
# Install envoy with helm
|
|
|
|
# Install gatewayclass, envoy-proxy, gateway
|