{"id":21023112,"url":"https://github.com/tkssharma/k8s-learning","last_synced_at":"2025-08-14T19:13:53.088Z","repository":{"id":44327724,"uuid":"203926765","full_name":"tkssharma/k8s-learning","owner":"tkssharma","description":"Just for learning ","archived":false,"fork":false,"pushed_at":"2020-04-23T23:21:29.000Z","size":696,"stargazers_count":8,"open_issues_count":1,"forks_count":26,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T06:41:52.508Z","etag":null,"topics":["docker","docker-compose","dockerfile","kubernetes","kubernetes-cluster"],"latest_commit_sha":null,"homepage":"","language":null,"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/tkssharma.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}},"created_at":"2019-08-23T04:58:37.000Z","updated_at":"2023-03-18T17:38:18.000Z","dependencies_parsed_at":"2022-09-14T18:10:21.335Z","dependency_job_id":null,"html_url":"https://github.com/tkssharma/k8s-learning","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkssharma%2Fk8s-learning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkssharma%2Fk8s-learning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkssharma%2Fk8s-learning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkssharma%2Fk8s-learning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkssharma","download_url":"https://codeload.github.com/tkssharma/k8s-learning/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254304645,"owners_count":22048446,"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":["docker","docker-compose","dockerfile","kubernetes","kubernetes-cluster"],"created_at":"2024-11-19T11:16:56.037Z","updated_at":"2025-05-15T08:32:43.810Z","avatar_url":"https://github.com/tkssharma.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes Learning \n\n - Learning Kubernetes\n - Exploring Archiecture\n - Kubernetes Installtion and Setup\n - Exploring Kubernetes Components like pods, deployment, services, replica set ...\n\n# Overview\n\nKubernetes is an open-source container-orchestration system for automating application deployment, scaling, and management. It was originally designed by Google, and is now maintained by the Cloud Native Computing Foundation\nIt groups containers that make up an application into logical units for easy management and discovery. Kubernetes builds upon 15 years of experience of running production workloads at Google, combined with best-of-breed ideas and practices from the community.\n#### Service discovery and load balancing\nNo need to modify your application to use an unfamiliar service discovery mechanism. Kubernetes gives Pods their own IP addresses and a single DNS name for a set of Pods, and can load-balance across them.\n####  Automatic bin packing\nAutomatically places containers based on their resource requirements and other constraints, while not sacrificing availability. Mix critical and best-effort workloads in order to drive up utilization and save even more resources.\n####  Storage orchestration\nAutomatically mount the storage system of your choice, whether from local storage, a public cloud provider such as GCP or AWS, or a network storage system such as NFS, iSCSI, Gluster, Ceph, Cinder, or Flocker.\n####  Self-healing\nRestarts containers that fail, replaces and reschedules containers when nodes die, kills containers that don’t respond to your user-defined health check, and doesn’t advertise them to clients until they are ready to serve.\n####  Automated rollouts and rollbacks\nKubernetes progressively rolls out changes to your application or its configuration, while monitoring application health to ensure it doesn’t kill all your instances at the same time. If something goes wrong, Kubernetes will rollback the change for you. Take advantage of a growing ecosystem of deployment solutions.\n####  Secret and configuration management\nDeploy and update secrets and application configuration without rebuilding your image and without exposing secrets in your stack configuration.\n####  Batch execution\nIn addition to services, Kubernetes can manage your batch and CI workloads, replacing containers that fail, if desired.\n####  Horizontal scaling\nScale your application up and down with a simple command, with a UI, or automatically based on CPU usage.\n\n## Kubernetes Architecture\n![alt text](screens/01.png)\n![alt text](screens/02.png)\n![alt text](screens/03.png)\n![alt text](screens/04.png)\n\n\n## Installtion and Setup\n\n - Installtion using MiniKube [MiniKube]('./MiniKube.txt')\n - Installation using kubeadm  [kubeadm]('./Kubeadm.txt')\n\n## Creating a simple Pod \n\n```\nkind: Pod\napiVersion: v1\nmetadata:\n  name: marks-dummy-pod\nspec:\n  containers:\n    - name: marks-dummy-pod\n      image: ubuntu\n      command: [\"/bin/bash\", \"-ec\", \"while :; do echo '.'; sleep 5 ; done\"]\n  restartPolicy: Never\n```\n\n```\napiVersion: v1\nkind: Pod\nmetadata:\n  name: nginx-pod\n  labels:\n    app: nginx\n    tier: dev\nspec:\n  containers:\n  - name: nginx-container\n    image: nginx\n ```   \n\n ### create and deploy Pods\n\n ```\n kubectl create -f nginx-pod.yaml\nkubectl get pod\nkubectl get pod -o wide\nkubectl get pod nginx-pod -o yaml\nkubectl describe pod nginx-pod\n ```\n\n### Refernce \n\n - Srinath Challa https://www.youtube.com/user/srinathrchalla1\n \n\n### workshop examples coming soon...\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkssharma%2Fk8s-learning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkssharma%2Fk8s-learning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkssharma%2Fk8s-learning/lists"}