Skip to content

Courtcircuits/cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published