{"id":19570476,"url":"https://github.com/natthasath/kubernetes-shell-script","last_synced_at":"2026-06-09T01:05:36.709Z","repository":{"id":242629571,"uuid":"810100850","full_name":"natthasath/kubernetes-shell-script","owner":"natthasath","description":"Kubernetes is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications. It provides a robust framework for running distributed systems resiliently, ensuring efficient resource utilization and high availability.","archived":false,"fork":false,"pushed_at":"2024-06-06T06:09:04.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-21T23:21:56.741Z","etag":null,"topics":["kubenetes","script","shell"],"latest_commit_sha":null,"homepage":"https://kubernetes.io/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/natthasath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-04T03:41:48.000Z","updated_at":"2024-06-06T06:09:08.000Z","dependencies_parsed_at":"2024-06-06T07:32:06.954Z","dependency_job_id":"fb902aeb-7c6d-476e-be7f-80a1c8fdb509","html_url":"https://github.com/natthasath/kubernetes-shell-script","commit_stats":null,"previous_names":["natthasath/kubernetes-shell-script"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natthasath%2Fkubernetes-shell-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natthasath%2Fkubernetes-shell-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natthasath%2Fkubernetes-shell-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natthasath%2Fkubernetes-shell-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natthasath","download_url":"https://codeload.github.com/natthasath/kubernetes-shell-script/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240834003,"owners_count":19865244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kubenetes","script","shell"],"created_at":"2024-11-11T06:15:10.178Z","updated_at":"2026-06-09T01:05:31.683Z","avatar_url":"https://github.com/natthasath.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎉 Kubernetes Shell Script\n\nKubernetes is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications. It provides a robust framework for running distributed systems resiliently, ensuring efficient resource utilization and high availability.\n\n![version](https://img.shields.io/badge/version-1.0-blue)\n![rating](https://img.shields.io/badge/rating-★★★★★-yellow)\n![uptime](https://img.shields.io/badge/uptime-100%25-brightgreen)\n\n### ✅ Requirements\n\n- [Kubectl](https://kubernetes.io/docs/tasks/tools/#kubectl)\n\n### 🧩 Kubectl Command\n\n| Service               | Command (get)                         | Command (create)                       | Command (delete)                         |\n|-----------------------|---------------------------------------|----------------------------------------|------------------------------------------|\n| Pods                  | `kubectl get pods`                    | `kubectl create -f \u003cpod.yaml\u003e`         | `kubectl delete pod \u003cpod_name\u003e`          |\n| Deployments           | `kubectl get deployments`             | `kubectl create -f \u003cdeployment.yaml\u003e`  | `kubectl delete deployment \u003cdeployment_name\u003e` |\n| ReplicationSets       | `kubectl get rs`                      | `kubectl apply -f \u003crs.yaml\u003e`           | `kubectl delete rs \u003crs_name\u003e`            |\n| Services              | `kubectl get svc`                     | `kubectl create -f \u003cservice.yaml\u003e`     | `kubectl delete service \u003cservice_name\u003e`  |\n| ConfigMaps            | `kubectl get configmaps`              | `kubectl create configmap \u003cname\u003e --from-file=\u003cfile\u003e` | `kubectl delete configmap \u003cname\u003e` |\n| Secrets               | `kubectl get secrets`                 | `kubectl create secret generic \u003cname\u003e --from-file=\u003cfile\u003e` | `kubectl delete secret \u003cname\u003e` |\n| Namespaces            | `kubectl get ns`                      | `kubectl create ns \u003cnamespace\u003e`        | `kubectl delete ns \u003cnamespace\u003e`          |\n| PersistentVolumes     | `kubectl get pv`                      | `kubectl create -f \u003cpv.yaml\u003e`          | `kubectl delete pv \u003cpv_name\u003e`            |\n| PersistentVolumeClaims| `kubectl get pvc`                     | `kubectl create -f \u003cpvc.yaml\u003e`         | `kubectl delete pvc \u003cpvc_name\u003e`          |\n| Nodes                 | `kubectl get nodes`                   | N/A                                    | N/A                                      |\n| Ingress               | `kubectl get ingress`                 | `kubectl create -f \u003cingress.yaml\u003e`     | `kubectl delete ingress \u003cingress_name\u003e`  |\n| Events                | `kubectl get events`                  | N/A                                    | N/A                                      |\n\n### 🧩 Helm Command\n\n| Service     | Command (get)               | Command (create)            | Command (delete)         |\n|-------------|-----------------------------|-----------------------------|--------------------------|\n| Chart       | `helm get`                  | `helm create`               |                          |\n| Chart       | `helm get all`              |                             |                          |\n| Chart       | `helm get hooks`            |                             |                          |\n| Chart       | `helm get manifest`         |                             |                          |\n| Chart       | `helm get notes`            |                             |                          |\n| Chart       | `helm get values`           |                             |                          |\n|             |                             | `helm package`              |                          |\n|             |                             | `helm repo add`             | `helm repo remove`       |\n|             |                             | `helm repo update`          |                          |\n| Release     |                             | `helm install`              | `helm uninstall`         |\n| Release     |                             |                             | `helm delete`            |\n| Status      | `helm status`               |                             |                          |\n| History     | `helm history`              |                             |                          |\n| Lint        |                             | `helm lint`                 |                          |\n| Upgrade     |                             | `helm upgrade`              |                          |\n| Rollback    |                             |                             | `helm rollback`          |\n| Test        |                             | `helm test`                 |                          |\n| Dependency  |                             | `helm dependency update`    |                          |\n| Dependency  |                             | `helm dependency build`     |                          |\n| Plugin      | `helm plugin list`          | `helm plugin install`       | `helm plugin uninstall`  |\n| Repo        | `helm repo list`            |                             |                          |\n\n\n### ⛑️ Helm Directory Structure\n\n```\n└── 📁nginx\n    └── .helmignore\n    └── Chart.yaml\n    └── 📁charts\n    └── nginx-0.1.0.tgz\n    └── 📁templates\n        └── deployment.yaml\n        └── hpa.yaml\n        └── ingress.yaml\n        └── NOTES.txt\n        └── service.yaml\n        └── serviceaccount.yaml\n        └── 📁tests\n            └── test-connection.yaml\n        └── _helpers.tpl\n    └── values.yaml\n```\n\n| Filename                | Description                                                                                            |\n|-------------------------|--------------------------------------------------------------------------------------------------------|\n| `.helmignore`           | Specifies patterns to ignore when packaging Helm charts.                                                |\n| `Chart.yaml`            | Contains metadata about the Helm chart, such as its name, version, description, and dependencies.     |\n| `nginx-0.1.0.tgz`       | An example of a packaged chart (a tarball), typically generated after running `helm package` on the chart. |\n| `deployment.yaml`       | A Kubernetes Deployment manifest template defining how your nginx deployment should be configured.    |\n| `hpa.yaml`              | A Horizontal Pod Autoscaler (HPA) manifest template, used to automatically scale the number of replicas based on CPU utilization. |\n| `ingress.yaml`          | An Ingress manifest template defining how external traffic should reach your nginx service.           |\n| `NOTES.txt`             | Contains optional usage notes or instructions that are displayed after the chart is installed.        |\n| `service.yaml`          | A Kubernetes Service manifest template defining how your nginx service should be exposed within the Kubernetes cluster. |\n| `serviceaccount.yaml`   | A Kubernetes ServiceAccount manifest template defining the service account used by your nginx deployment. |\n| `test-connection.yaml`  | An example test manifest to verify the connection to the nginx service.                                 |\n| `_helpers.tpl`          | Contains helper templates that can be included in other template files to avoid duplication of code.  |\n| `values.yaml`           | Contains default configuration values for your Helm chart. Users can override these values during installation. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatthasath%2Fkubernetes-shell-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatthasath%2Fkubernetes-shell-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatthasath%2Fkubernetes-shell-script/lists"}