Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 929 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 929 Bytes

101 Cluster deployment for K8S

Security tips

  • Create a custom user for harbor AND add github connection for argocd

Run the build :

  1. Install k3s (or any other kubernetes bare metal distro) :
curl -sfL https://get.k3s.io | sh -

Then get the kubeconfig file and set it as KUBECONFIG env variable.

  1. Create namespaces:
./namespaces/namespaces.sh
  1. Install helm services :
cd services
# you might need to install argocd repo and bitnami repo
helm repo add sealed-secrets https://bitnami-labs.github.io/sealed-secrets
helm dependency build
helm install services --values ./values.yaml . --namespace services
helm install sealed-secrets -n kube-system --set-string fullnameOverride=sealed-secrets-controller sealed-secrets/sealed-secrets
cd ..
  1. Install argocd appofapps :
kubectl apply -f ./app-of-apps/project.yaml
kubectl apply -f ./app-of-apps/projects.yaml