You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.2 KiB

Lotus Land Story

# Install tooling
brew install helm kubernetes-cli terraform

# One-time initialization
terraform init

# Terraform commands
terraform plan
terraform apply
terraform destroy

# cert-manager
helm repo add jetstack https://charts.jetstack.io
kubectl create namespace cert-manager
helm template \
  cert-manager jetstack/cert-manager \
  --namespace cert-manager \
  --create-namespace \
  --version v1.6.1 \
  --set installCRDs=true \
  > manifests/cert-manager.yml
kubectl apply -f manifests/cert-manager.yml

cat manifests/letsencrypt-staging.yml | envsubst | kubectl apply -f -
cat manifests/letsencrypt-prod.yml | envsubst | kubectl apply -f -

# nginx
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm template quickstart ingress-nginx/ingress-nginx > manifests/ingress-nginx.yml
kubectl apply -f manifests/ingress-nginx.yml

# kuard
cat manifests/kuard.yml | envsubst | kubectl apply -f -

References

TODO