Skip to content

Instantly share code, notes, and snippets.

@dantejauregui
Last active February 5, 2024 12:22
Show Gist options
  • Save dantejauregui/7629f088100c729420941596339d4114 to your computer and use it in GitHub Desktop.
Save dantejauregui/7629f088100c729420941596339d4114 to your computer and use it in GitHub Desktop.
starting w HELM Charts
1.you add the repo:
helm repo add bitnami https://charts.bitnami.com/bitnami
2.After added, you verify is in ur local machine:
helm search repo
3.If you wanna do some changes in the YAML files of NGINX (as an example), you pull the files to make changes:
helm pull bitnami/nginx --untar=true
Before INSTALL the YAML project, we have to make sure the KubeConfig is correct configured, for ex. with EKS would be:
aws eks update-kubeconfig --region (AWS REGION) --name (CLUSTER NAME)
aws eks update-kubeconfig --region us-east-1 --name ascode-cluster
4.Then you install the YAML Files project in the synced Cluster:
helm install my-nginx bitnami/nginx
**in case the helm chart and the kubernetes (for ex. K2S) are not communicating because of different Ports, set this Global Variable:
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml (in the case of K3S)
5.You search if the helm chart was right installed (searching in all the Namespaces):
helm ls --all-namespaces
kubectl get all
kubectl get svc
6.To run the deployed app, verify that the EndPoints Routes are open in the AWS SecurityGroup of that EKS (its EC2 NodeGroup config)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment