Last active
February 5, 2024 12:22
-
-
Save dantejauregui/7629f088100c729420941596339d4114 to your computer and use it in GitHub Desktop.
starting w HELM Charts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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