{"id":15043042,"url":"https://github.com/varghese25/springtaiga","last_synced_at":"2025-11-08T04:03:47.872Z","repository":{"id":256442893,"uuid":"855290289","full_name":"varghese25/springTaiga","owner":"varghese25","description":"Development DeVops","archived":false,"fork":false,"pushed_at":"2024-12-05T19:41:50.000Z","size":4379,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T08:51:16.610Z","etag":null,"topics":["corejava","crud-api","docker","html-css-javascript","kubernetes","mvc-architecture","postgresql","spring-boot","taiga"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/varghese25.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-09-10T16:22:21.000Z","updated_at":"2025-02-06T21:54:14.000Z","dependencies_parsed_at":"2024-10-26T01:14:58.842Z","dependency_job_id":"11bcef30-b3f3-4b44-a041-a28a97dbeead","html_url":"https://github.com/varghese25/springTaiga","commit_stats":null,"previous_names":["varghese25/springtaiga"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varghese25%2FspringTaiga","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varghese25%2FspringTaiga/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varghese25%2FspringTaiga/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varghese25%2FspringTaiga/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/varghese25","download_url":"https://codeload.github.com/varghese25/springTaiga/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248959586,"owners_count":21189906,"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":["corejava","crud-api","docker","html-css-javascript","kubernetes","mvc-architecture","postgresql","spring-boot","taiga"],"created_at":"2024-09-24T20:48:29.898Z","updated_at":"2025-11-08T04:03:47.822Z","avatar_url":"https://github.com/varghese25.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n\r\n\r\n05-12-2024\u003cbr\u003e\r\n## PS E:\\myWorks\\springTaiga\u003e Remove-Item -Recurse -Force node_modules\u003cbr\u003e\r\nwhich remove the node_modules either we can add gitignore which wont track the modules.Node module files \r\nhas heavy dependancy so it is hard to track the changes best way to give gitignore. \u003cbr\u003e\r\n\r\nLearned from HubSpot Developer Certification. When i try colloabe my TTM code with HubSpot.\u003cbr\u003e\r\n\r\nnpm install @hubspot/cli\u003cbr\u003e // Intall node modules\r\nnpx hs init\u003cbr\u003e // Hubspot Sandbox for authencation and many other useCase.\r\n\r\n\r\nPassed Certifcation of Hubspot Reporting\u003cbr\u003e\r\n\r\n\r\n\u003c-----------------------------------------------------------------------------------------\u003e\r\n\r\n\r\n\r\n##TTM Project\u003cbr\u003e\r\n\r\n##Truncate removes row record and ensures the id column will begin counting from 1.\u003cbr\u003e\r\nTRUNCATE TABLE my_app_user RESTART IDENTITY;\u003cbr\u003e \r\nSELECT pg_get_serial_sequence('my_app_user', 'id');\u003cbr\u003e\r\nALTER SEQUENCE my_app_user_id_seq RESTART WITH 1;\u003cbr\u003e\r\n\r\n\r\n\u003cb\u003eTaiga And GitHub Intergration\u003c/b\u003e\u003cbr\u003e Date 10/09/2024\u003cbr\u003e\r\n\r\nStep 1 : Payload URL from taiga\u003cbr\u003e\r\nStep 2 : Create Repo(springTaiga)\u003cbr\u003e\r\nStep 3 : Repo, springTaiga -\u003e Settings -\u003e Webhooks -\u003e add the Payload URL * \u0026 Secret key /\u003cbr\u003e\r\nWhich events would you like to trigger this webhook?\u003cbr\u003e\r\nSend me everything.\r\n\r\nhttps://api.taiga.io/api/v1/github-hook (all events) // Everything Fine it show green Tick\u003cbr\u003e\r\n\r\n\r\n\u003cbr\u003e---------------------------------------------------------------------------------------\u003cbr\u003e\r\nDate 11-09-2024\u003cbr\u003e\r\n\r\ntaiga-integration.yml\u003cbr\u003e\r\nCreated a directory in https://github.com/varghese25/springTaiga\u003cbr\u003e\r\n.github/workflows/\u003cbr\u003e\r\nCreate a file inside that folder (ie. springTaiga/.github/workflows/) naming\u003cbr\u003e\r\nOr else simple put the uploaded file (taiga-integration.yml) into folder\u003cbr\u003e\r\n\r\n\u003cbr\u003e---------------------------------------------------------------------------------------\u003cbr\u003e\r\n\r\n\r\nDate 12-09-2024\u003cbr\u003e\r\nWork Flow Interagation\u003cbr\u003e\r\n\r\n \r\n \r\n Step 1 \u003cbr\u003e\r\n Create work flow in github .github/workflows/taiga-integration.yml\u003cbr\u003e\r\n \r\n Step 2\u003cbr\u003e\r\n name: Taiga Integration\u003cbr\u003e\r\n\r\non:\u003cbr\u003e\r\n push:\u003cbr\u003e\r\n   branches:\u003cbr\u003e\r\n     - main\u003cbr\u003e\r\n pull_request:\u003cbr\u003e\r\n   branches:\u003cbr\u003e\r\n     - main\u003cbr\u003e\r\n\r\njobs:\u003cbr\u003e\r\n update-taiga:\u003cbr\u003e\r\n   runs-on: ubuntu-latest\u003cbr\u003e\r\n\r\n   steps:\u003cbr\u003e\r\n   - name: Checkout code\u003cbr\u003e\r\n     uses: actions/checkout@v2\u003cbr\u003e\r\n\r\n   - name: Send updates to Taiga\u003cbr\u003e\r\n     env:\u003cbr\u003e\r\n       TAIGA_API_URL: \"https://api.taiga.io\" #  Hardcoding the API URL \u003cbr\u003e\r\n       TAIGA_AUTH_TOKEN: ${{ secrets.TAIGA_AUTH_TOKEN}}  # Secret reference for the auth token\u003cbr\u003e\r\n     run: |\u003cbr\u003e\r\n       curl -X POST \"$TAIGA_API_URL/github-hook?project=1585351\" \\\u003cbr\u003e\r\n       -H \"Authorization: Bearer $TAIGA_AUTH_TOKEN\" \\\u003cbr\u003e\r\n       -H \"Content-Type: application/json\" \\\u003cbr\u003e\r\n       --data '{\u003cbr\u003e\r\n         \"repository\": {\u003cbr\u003e\r\n           \"name\": \"'\"$GITHUB_REPOSITORY\"'\",\u003cbr\u003e\r\n           \"url\": \"'\"$GITHUB_SERVER_URL/$GITHUB_REPOSITORY\"'\"\u003cbr\u003e\r\n         },\u003cbr\u003e\r\n         \"action\": \"update\"\u003cbr\u003e\r\n       }'\u003cbr\u003e\r\n \r\n \r\n \r\n Step 3\u003cbr\u003e\r\n Referencing the Token as a Secret\u003cbr\u003e\r\n \r\n The TAIGA_AUTH_TOKEN should be stored securely as a secret in GitHub.\u003cbr\u003e\r\n You can add this secret by going to your repository’s Settings \u003e Secrets and variables \u003e Actions, and create a secret \u003cbr\u003ecalled TAIGA_AUTH_TOKEN with the value being your authentication token (afb50e1cbf8b4a228851710cc630ea57)....\u003cbr\u003e\r\n\r\n\r\n\u003cbr\u003e---------------------------------------------------------------------------------------\u003cbr\u003e\r\n\r\n17-09-2024\u003cbr\u003e\r\n\r\nInstallled miniKube \u003cbr\u003e\r\ninstall latest kubernetes/ kubectl \u003cbr\u003e\r\nMinikube start\u003cbr\u003e\r\nMinikube stop\u003cbr\u003e\r\n Kubectl get svc\u003cbr\u003e\r\nKubectl get pods\u003cbr\u003e\r\n\r\n\u003cbr\u003e----\u003cbr\u003e\r\nImportatnt docker command\u003cbr\u003e \r\ndocker pull, \u003cbr\u003e\r\ndocker run,\u003cbr\u003e\r\ndocker exec,\u003cbr\u003e\r\ndocker logs,\u003cbr\u003e\r\ndocker build,\u003cbr\u003e\r\ndocker tag,\u003cbr\u003e\r\ndocker push,\u003cbr\u003e\r\n\r\ndocker images,\u003cbr\u003e\r\ndocker ps,\u003cbr\u003e\r\ndocker system prune\u003cbr\u003e\r\n\r\n\r\n\u003cbr\u003e----------------------------------------------------\u003cbr\u003e\r\n## Date 20-09-2024\r\n## Make Image as Pod \u0026 Mutliple Replica's Command\r\nOpen 2 terminals:\r\nTerminal-1:\r\n===========\r\n\u003e minikube start #Kub8 Command#\r\n(it will take long time to create a node)\r\n-----\r\n# Make 2 replicas of rmanojcse06/spring-boot-hello:0.0.1, \r\n# without making image to container (docker run -d -n \u003cNAME\u003e -p \u003cLOC_PORT\u003e:18080 \u003cIMAGE\u003e\r\n# We are using kubectl to make 2 containers\r\n\r\n\u003e kubectl create deployment rmanoj-spring-deployment-pod --image=rmanojcse06/spring-boot-hello:0.0.1 --port=18080 --replicas=2 -o yaml #Kub8 Command#\r\n\r\n\u003e kubectl get pods -o wide --show-labels #Kub8 Command#\r\nC:\\Users\\lenovo\u003ekubectl get pods --show-labels -o wide\r\nNAME                                           READY   STATUS    RESTARTS   AGE   IP            NODE       NOMINATED NODE   READINESS GATES   LABELS\r\nrmanoj-spring-deployment-pod-5477d68b5-f64cl   1/1     Running   0          70s   10.244.0.14   minikube   \u003cnone\u003e           \u003cnone\u003e            app=rmanoj-spring-deployment-pod,pod-template-hash=5477d68b5\r\nrmanoj-spring-deployment-pod-5477d68b5-rw5w4   1/1     Running   0          70s   10.244.0.15   minikube   \u003cnone\u003e           \u003cnone\u003e            app=rmanoj-spring-deployment-pod,pod-template-hash=5477d68b5\r\n\r\n\r\n# Make a curl pod (a Linux machine having curl inside minikube cluster) and try checking replica\r\n\r\nC:\\Users\\lenovo\u003ekubectl run curlpod --image=curlimages/curl -i --tty -- sh\r\nIf you don't see a command prompt, try pressing enter.\r\n~ $ curl 10.244.0.14:18080\r\n{\"timestamp\":\"2024-09-18T03:28:20.619+00:00\",\"status\":404,\"error\":\"Not Found\",\"path\":\"/\"}~ $\r\n~ $ curl 10.244.0.14:18080/hello\r\nHello created by Manoj and Tiju~ $\r\n~ $ curl 10.244.0.15:18080/hello\r\nHello created by Manoj and Tiju~ $\r\n~ $ exit\r\nSession ended, resume using 'kubectl attach curlpod -c curlpod -i -t' command when the pod is running\r\n\r\nC:\\Users\\lenovo\u003ekubectl get pods\r\nNAME                                           READY   STATUS    RESTARTS      AGE\r\ncurlpod                                        1/1     Running   1 (10s ago)   57s\r\nrmanoj-spring-deployment-pod-5477d68b5-f64cl   1/1     Running   0             4m14s\r\nrmanoj-spring-deployment-pod-5477d68b5-rw5w4   1/1     Running   0             4m14s\r\n\r\nNow create service for 2 replicas\r\n\u003e kubectl create service nodeport rmanoj-spring-service --tcp=30000:18080 --dry-run=client -o yaml \u003e service.yaml  \r\n#edit (C:\\Users\\u\\Varghese Baby)service.yaml to point the pod having label\r\nspec\u003eselector\u003eapp: rmanoj-spring-deployment-pod #\r\n\r\n\u003e kubectl apply -f service.yaml\r\n\r\nC:\\Users\\lenovo\u003ekubectl get svc\r\nNAME                    TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)           AGE\r\nkubernetes              ClusterIP   10.96.0.1      \u003cnone\u003e        443/TCP           10h\r\nrmanoj-spring-service   NodePort    10.110.92.29   \u003cnone\u003e        30000:32321/TCP   12s\r\n\r\nC:\\Users\\lenovo\u003ekubectl attach curlpod -c curlpod -i -t\r\nIf you don't see a command prompt, try pressing enter.\r\n~ $ curl 10.110.92.29:30000/hello\r\nHello created by Manoj and Tiju~ $\r\n~ $ exit\r\n\r\nNow 2 pods are running inside a cluster, 1 service exposes two pods\r\nBut you cannot open it in your local\r\n\r\n\r\nOpen 2 Terminal 2\r\nTo do Open another Terminal\r\nkubectl port-forward svc/rmanoj-spring-service 9090:30000\r\n\r\n\r\nNow goto Browser\r\nhttp://localhost:9090/hello\r\nwill run the pod inside cluster\r\n\r\n\r\nyou can check the logs for running containers also\r\n\u003e kubectl get pods\r\n\u003e kubectl logs rmanoj-spring-deployment-pod-5477d68b5-f64cl\r\n\r\n\r\n\r\n\r\n\r\n\r\nC:\\Users\\u\u003ekubectl get pods\r\nNAME                                            READY   STATUS      RESTARTS      AGE\r\ncurlpod                                         0/1     Completed   7 (12m ago)   78m\r\nrmanoj-spring-deployment-pod-76cdff6666-447rl   1/1     Running     0             129m\r\nrmanoj-spring-deployment-pod-76cdff6666-m7wng   1/1     Running     0             129m\r\n\r\nC:\\Users\\u\u003ekubectl delete pod rmanoj-spring-deployment-pod-76cdff6666-447rl\r\npod \"rmanoj-spring-deployment-pod-76cdff6666-447rl\" deleted\r\n\r\nC:\\Users\\u\u003ekubectl get pods\r\nNAME                                            READY   STATUS              RESTARTS      AGE\r\ncurlpod                                         1/1     Running             8 (65s ago)   79m\r\nrmanoj-spring-deployment-pod-76cdff6666-m7wng   1/1     Running             0             130m\r\nrmanoj-spring-deployment-pod-76cdff6666-tf2wv   0/1     ContainerCreating   0             18s\r\n\r\nC:\\Users\\u\u003ekubectl get pods\r\nNAME                                            READY   STATUS    RESTARTS      AGE\r\ncurlpod                                         1/1     Running   8 (13m ago)   92m\r\nrmanoj-spring-deployment-pod-76cdff6666-m7wng   1/1     Running   0             142m\r\nrmanoj-spring-deployment-pod-76cdff6666-tf2wv   1/1     Running   0             12m\r\n\r\nC:\\Users\\u\u003ekubectl get deployment\r\nNAME                           READY   UP-TO-DATE   AVAILABLE   AGE\r\nrmanoj-spring-deployment-pod   2/2     2            2           143m\r\n\r\nC:\\Users\\u\u003ekubectl scale deployment --replicas=4\r\nerror: resource(s) were provided, but no name was specified\r\n\r\nC:\\Users\\u\u003ekubectl scale deployment --replicas=4 rmanoj-spring-deployment-pod\r\ndeployment.apps/rmanoj-spring-deployment-pod scaled\r\n\r\nC:\\Users\\u\u003ekubectl get pods\r\nNAME                                            READY   STATUS              RESTARTS      AGE\r\ncurlpod                                         1/1     Running             8 (15m ago)   94m\r\nrmanoj-spring-deployment-pod-76cdff6666-88rxf   1/1     Running             0             18s\r\nrmanoj-spring-deployment-pod-76cdff6666-m7wng   1/1     Running             0             144m\r\nrmanoj-spring-deployment-pod-76cdff6666-tf2wv   1/1     Running             0             14m\r\nrmanoj-spring-deployment-pod-76cdff6666-zr2lz   0/1     ContainerCreating   0             18s\r\n\r\nC:\\Users\\u\u003ekubectl get pods\r\n\u003cbr\u003e-------------------------------------------------------------\u003cbr\u003e\r\n\r\n## Installing Curl Inside the pod\r\n\r\nKuber8 Commands\r\n\r\n\r\n\r\nMicrosoft Windows [Version 10.0.19045.4894]\r\n(c) Microsoft Corporation. All rights reserved.\r\n\r\nC:\\Users\\u\u003ekubectl get pods -o wide --show-labels\r\nNAME                                            READY   STATUS              RESTARTS   AGE    IP       NODE       NOMINATED NODE   READINESS GATES   LABELS\r\nrmanoj-spring-deployment-pod-76cdff6666-447rl   0/1     ContainerCreating   0          2m1s   \u003cnone\u003e   minikube   \u003cnone\u003e           \u003cnone\u003e            app=rmanoj-spring-deployment-pod,pod-template-hash=76cdff6666\r\nrmanoj-spring-deployment-pod-76cdff6666-m7wng   0/1     ContainerCreating   0          2m1s   \u003cnone\u003e   minikube   \u003cnone\u003e           \u003cnone\u003e            app=rmanoj-spring-deployment-pod,pod-template-hash=76cdff6666\r\n\r\nC:\\Users\\u\u003ekubectl get pods -o wide --show-labels\r\nNAME                                            READY   STATUS              RESTARTS   AGE     IP       NODE       NOMINATED NODE   READINESS GATES   LABELS\r\nrmanoj-spring-deployment-pod-76cdff6666-447rl   0/1     ContainerCreating   0          2m39s   \u003cnone\u003e   minikube   \u003cnone\u003e           \u003cnone\u003e            app=rmanoj-spring-deployment-pod,pod-template-hash=76cdff6666\r\nrmanoj-spring-deployment-pod-76cdff6666-m7wng   0/1     ContainerCreating   0          2m39s   \u003cnone\u003e   minikube   \u003cnone\u003e           \u003cnone\u003e            app=rmanoj-spring-deployment-pod,pod-template-hash=76cdff6666\r\n\r\nC:\\Users\\u\u003ekubectl log\r\nerror: unknown command \"log\" for \"kubectl\"\r\n\r\nDid you mean this?\r\n        top\r\n        logs\r\n\r\nC:\\Users\\u\u003ekubectl logs rmanoj-spring-deployment-pod-76cdff6666-m7wng\r\nError from server (BadRequest): container \"spring-boot-hello\" in pod \"rmanoj-spring-deployment-pod-76cdff6666-m7wng\" is waiting to start: ContainerCreating\r\n\r\nC:\\Users\\u\u003ekubectl describe pod rmanoj-spring-deployment-pod-76cdff6666-m7wng\r\nName:             rmanoj-spring-deployment-pod-76cdff6666-m7wng\r\nNamespace:        default\r\nPriority:         0\r\nService Account:  default\r\nNode:             minikube/192.168.49.2\r\nStart Time:       Fri, 20 Sep 2024 12:14:10 -0400\r\nLabels:           app=rmanoj-spring-deployment-pod\r\n                  pod-template-hash=76cdff6666\r\nAnnotations:      \u003cnone\u003e\r\nStatus:           Pending\r\nIP:\r\nIPs:              \u003cnone\u003e\r\nControlled By:    ReplicaSet/rmanoj-spring-deployment-pod-76cdff6666\r\nContainers:\r\n  spring-boot-hello:\r\n    Container ID:\r\n    Image:          rmanojcse06/spring-boot-hello:0.0.1\r\n    Image ID:\r\n    Port:           18080/TCP\r\n3f2c9b4652b6: Downloading [=========\u003e                                         ]  36.01MB/187.5MB\r\n    State:          Waiting\r\n3f2c9b4652b6: Downloading [===============================\u003e                   ]  119.5MB/187.5MB\r\n3f2c9b4652b6: Downloading [========\u003e                                          ]  33.32MB/187.5MB\r\n    Restart Count:  0\r\n    Environment:    \u003cnone\u003e\r\n3f2c9b4652b6: Downloading [========\u003e                                          ]  32.78MB/187.5MB\r\n      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-pkkrs (ro)\r\nConditions:\r\n3f2c9b4652b6: Downloading [========\u003e                                          ]  32.25MB/187.5MB\r\n  PodReadyToStartContainers   False\r\n3f2c9b4652b6: Downloading [=================================\u003e                 ]  123.8MB/187.5MB\r\n3f2c9b4652b6: Downloading [========\u003e                                          ]  31.71MB/187.5MB\r\n  ContainersReady             False\r\n  PodScheduled                True\r\nVolumes:\r\n  kube-api-access-pkkrs:\r\n3f2c9b4652b6: Pull complete\r\n11849ef6ba8a: Pull complete\r\n975de163316e: Pull complete\r\nDigest: sha256:d670fa6d69cc937db8fde557fbd05a02e607723ea9bbc808b39a98fbb51e7995\r\nStatus: Downloaded newer image for rmanojcse06/spring-boot-hello:0.0.1\r\ndocker.io/rmanojcse06/spring-boot-hello:0.0.1\r\nNode-Selectors:              \u003cnone\u003e\r\nWhat's next:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s\r\n    View a summary of image vulnerabilities and recommendations → docker scout quickview rmanojcse06/spring-boot-hello:0.0.1\r\nEvents:\r\nC:\\Users\\u\u003e6: Downloading [========\u003e                                          ]  31.17MB/187.5MB\r\nC:\\Users\\u\u003e-----     ----   ----               -------\r\nC:\\Users\\u\u003echeduled  4m42s  default-scheduler  Successfully assigned default/rmanoj-spring-deployment-pod-76cdff6666-m7wng to minikube\r\nC:\\Users\\u\u003eulling    4m27s  kubelet            Pulling image \"rmanojcse06/spring-boot-hello:0.0.1\"\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003edocker pull rmanojcse06/spring-boot-hello:0.0.1\r\nC:\\Users\\u\u003eing from rmanojcse06/spring-boot-hello\r\nC:\\Users\\u\u003e3: Pull complete\r\nC:\\Users\\u\u003e1: Pull complete\r\nC:\\Users\\u\u003e6: Downloading [========\u003e                                          ]  30.63MB/187.5MB\r\nC:\\Users\\u\u003ea: Download complete\r\nC:\\Users\\u\u003ee: Download complete\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003e\r\nC:\\Users\\u\u003edocker pull rmanojcse06/spring-boot-hello:0.0.1\r\n0.0.1: Pulling from rmanojcse06/spring-boot-hello\r\nDigest: sha256:d670fa6d69cc937db8fde557fbd05a02e607723ea9bbc808b39a98fbb51e7995\r\nStatus: Image is up to date for rmanojcse06/spring-boot-hello:0.0.1\r\ndocker.io/rmanojcse06/spring-boot-hello:0.0.1\r\n\r\nWhat's next:\r\n    View a summary of image vulnerabilities and recommendations → docker scout quickview rmanojcse06/spring-boot-hello:0.0.1\r\n\r\nC:\\Users\\u\u003ekubectl get pods\r\nNAME                                            READY   STATUS    RESTARTS   AGE\r\nrmanoj-spring-deployment-pod-76cdff6666-447rl   1/1     Running   0          18m\r\nrmanoj-spring-deployment-pod-76cdff6666-m7wng   1/1     Running   0          18m\r\n\r\nC:\\Users\\u\u003ekubectl exec -it rmanoj-spring-deployment-pod-76cdff6666-447rl --sh\r\nerror: unknown flag: --sh\r\nSee 'kubectl exec --help' for usage.\r\n\r\nC:\\Users\\u\u003ekubectl exec -it rmanoj-spring-deployment-pod-76cdff6666-447rl -- /bin/sh\r\n# curl localhost:18080/hello\r\n/bin/sh: 1: curl: not found\r\n# apk update\r\napk add curl\r\n/bin/sh: 2: apk: not found\r\n# /bin/sh: 3: apk: not found\r\n# apk update\r\napk add curl\r\n/bin/sh: 4: apk: not found\r\n# /bin/sh: 5: apk: not found\r\n# cat /etc/alpine-release\r\ncat: /etc/alpine-release: No such file or directory\r\n# uname - a\r\nuname: extra operand ‘-’\r\nTry 'uname --help' for more information.\r\n# uname -a\r\nLinux rmanoj-spring-deployment-pod-76cdff6666-447rl 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 GNU/Linux\r\n# sudo apt update\r\nsudo apt install curl\r\n/bin/sh: 9: sudo: not found\r\n# /bin/sh: 10: sudo: not found\r\n# apt update\r\nGet:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]\r\nGet:2 http://deb.debian.org/debian buster InRelease [122 kB]\r\nGet:3 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]\r\nGet:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [610 kB]\r\nGet:5 http://deb.debian.org/debian buster/main amd64 Packages [7909 kB]\r\nGet:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [8788 B]\r\nFetched 8741 kB in 15s (569 kB/s)\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\n33 packages can be upgraded. Run 'apt list --upgradable' to see them.\r\n# apt install curl\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\nThe following additional packages will be installed:\r\n  krb5-locales libcurl4 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libnghttp2-14 libpsl5 librtmp1 libsasl2-2\r\n  libsasl2-modules libsasl2-modules-db libssh2-1 publicsuffix\r\nSuggested packages:\r\n  krb5-doc krb5-user libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql\r\nThe following NEW packages will be installed:\r\n  curl krb5-locales libcurl4 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libnghttp2-14 libpsl5 librtmp1\r\n  libsasl2-2 libsasl2-modules libsasl2-modules-db libssh2-1 publicsuffix\r\n0 upgraded, 18 newly installed, 0 to remove and 33 not upgraded.\r\nNeed to get 2492 kB of archives.\r\nAfter this operation, 5887 kB of additional disk space will be used.\r\nDo you want to continue? [Y/n] Y\r\nGet:1 http://security.debian.org/debian-security buster/updates/main amd64 krb5-locales all 1.17-3+deb10u6 [95.8 kB]\r\nGet:2 http://security.debian.org/debian-security buster/updates/main amd64 libkrb5support0 amd64 1.17-3+deb10u6 [66.1 kB]\r\nGet:3 http://security.debian.org/debian-security buster/updates/main amd64 libk5crypto3 amd64 1.17-3+deb10u6 [122 kB]\r\nGet:4 http://deb.debian.org/debian buster/main amd64 libkeyutils1 amd64 1.6-6 [15.0 kB]\r\nGet:5 http://security.debian.org/debian-security buster/updates/main amd64 libkrb5-3 amd64 1.17-3+deb10u6 [369 kB]\r\nGet:6 http://deb.debian.org/debian buster/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-1+deb10u2 [69.2 kB]\r\nGet:7 http://deb.debian.org/debian buster/main amd64 libsasl2-2 amd64 2.1.27+dfsg-1+deb10u2 [106 kB]\r\nGet:8 http://security.debian.org/debian-security buster/updates/main amd64 libgssapi-krb5-2 amd64 1.17-3+deb10u6 [159 kB]\r\nGet:9 http://deb.debian.org/debian buster/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u7 [90.1 kB]\r\nGet:10 http://deb.debian.org/debian buster/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u7 [224 kB]\r\nGet:11 http://security.debian.org/debian-security buster/updates/main amd64 libnghttp2-14 amd64 1.36.0-2+deb10u3 [86.1 kB]\r\nGet:12 http://security.debian.org/debian-security buster/updates/main amd64 libssh2-1 amd64 1.8.0-2.1+deb10u1 [141 kB]\r\nGet:13 http://security.debian.org/debian-security buster/updates/main amd64 libcurl4 amd64 7.64.0-4+deb10u9 [336 kB]\r\nGet:14 http://deb.debian.org/debian buster/main amd64 libpsl5 amd64 0.20.2-2 [53.7 kB]\r\nGet:15 http://deb.debian.org/debian buster/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2 [60.5 kB]\r\nGet:16 http://deb.debian.org/debian buster/main amd64 libsasl2-modules amd64 2.1.27+dfsg-1+deb10u2 [104 kB]\r\nGet:17 http://deb.debian.org/debian buster/main amd64 publicsuffix all 20220811.1734-0+deb10u1 [127 kB]\r\nGet:18 http://security.debian.org/debian-security buster/updates/main amd64 curl amd64 7.64.0-4+deb10u9 [267 kB]\r\nFetched 2492 kB in 3s (750 kB/s)\r\ndebconf: delaying package configuration, since apt-utils is not installed\r\nSelecting previously unselected package krb5-locales.\r\n(Reading database ... 6891 files and directories currently installed.)\r\nPreparing to unpack .../00-krb5-locales_1.17-3+deb10u6_all.deb ...\r\nUnpacking krb5-locales (1.17-3+deb10u6) ...\r\nSelecting previously unselected package libkeyutils1:amd64.\r\nPreparing to unpack .../01-libkeyutils1_1.6-6_amd64.deb ...\r\nUnpacking libkeyutils1:amd64 (1.6-6) ...\r\nSelecting previously unselected package libkrb5support0:amd64.\r\nPreparing to unpack .../02-libkrb5support0_1.17-3+deb10u6_amd64.deb ...\r\nUnpacking libkrb5support0:amd64 (1.17-3+deb10u6) ...\r\nSelecting previously unselected package libk5crypto3:amd64.\r\nPreparing to unpack .../03-libk5crypto3_1.17-3+deb10u6_amd64.deb ...\r\nUnpacking libk5crypto3:amd64 (1.17-3+deb10u6) ...\r\nSelecting previously unselected package libkrb5-3:amd64.\r\nPreparing to unpack .../04-libkrb5-3_1.17-3+deb10u6_amd64.deb ...\r\nUnpacking libkrb5-3:amd64 (1.17-3+deb10u6) ...\r\nSelecting previously unselected package libgssapi-krb5-2:amd64.\r\nPreparing to unpack .../05-libgssapi-krb5-2_1.17-3+deb10u6_amd64.deb ...\r\nUnpacking libgssapi-krb5-2:amd64 (1.17-3+deb10u6) ...\r\nSelecting previously unselected package libsasl2-modules-db:amd64.\r\nPreparing to unpack .../06-libsasl2-modules-db_2.1.27+dfsg-1+deb10u2_amd64.deb ...\r\nUnpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-1+deb10u2) ...\r\nSelecting previously unselected package libsasl2-2:amd64.\r\nPreparing to unpack .../07-libsasl2-2_2.1.27+dfsg-1+deb10u2_amd64.deb ...\r\nUnpacking libsasl2-2:amd64 (2.1.27+dfsg-1+deb10u2) ...\r\nSelecting previously unselected package libldap-common.\r\nPreparing to unpack .../08-libldap-common_2.4.47+dfsg-3+deb10u7_all.deb ...\r\nUnpacking libldap-common (2.4.47+dfsg-3+deb10u7) ...\r\nSelecting previously unselected package libldap-2.4-2:amd64.\r\nPreparing to unpack .../09-libldap-2.4-2_2.4.47+dfsg-3+deb10u7_amd64.deb ...\r\nUnpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u7) ...\r\nSelecting previously unselected package libnghttp2-14:amd64.\r\nPreparing to unpack .../10-libnghttp2-14_1.36.0-2+deb10u3_amd64.deb ...\r\nUnpacking libnghttp2-14:amd64 (1.36.0-2+deb10u3) ...\r\nSelecting previously unselected package libpsl5:amd64.\r\nPreparing to unpack .../11-libpsl5_0.20.2-2_amd64.deb ...\r\nUnpacking libpsl5:amd64 (0.20.2-2) ...\r\nSelecting previously unselected package librtmp1:amd64.\r\nPreparing to unpack .../12-librtmp1_2.4+20151223.gitfa8646d.1-2_amd64.deb ...\r\nUnpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...\r\nSelecting previously unselected package libssh2-1:amd64.\r\nPreparing to unpack .../13-libssh2-1_1.8.0-2.1+deb10u1_amd64.deb ...\r\nUnpacking libssh2-1:amd64 (1.8.0-2.1+deb10u1) ...\r\nSelecting previously unselected package libcurl4:amd64.\r\nPreparing to unpack .../14-libcurl4_7.64.0-4+deb10u9_amd64.deb ...\r\nUnpacking libcurl4:amd64 (7.64.0-4+deb10u9) ...\r\nSelecting previously unselected package curl.\r\nPreparing to unpack .../15-curl_7.64.0-4+deb10u9_amd64.deb ...\r\nUnpacking curl (7.64.0-4+deb10u9) ...\r\nSelecting previously unselected package libsasl2-modules:amd64.\r\nPreparing to unpack .../16-libsasl2-modules_2.1.27+dfsg-1+deb10u2_amd64.deb ...\r\nUnpacking libsasl2-modules:amd64 (2.1.27+dfsg-1+deb10u2) ...\r\nSelecting previously unselected package publicsuffix.\r\nPreparing to unpack .../17-publicsuffix_20220811.1734-0+deb10u1_all.deb ...\r\nUnpacking publicsuffix (20220811.1734-0+deb10u1) ...\r\nSetting up libkeyutils1:amd64 (1.6-6) ...\r\nSetting up libpsl5:amd64 (0.20.2-2) ...\r\nSetting up libsasl2-modules:amd64 (2.1.27+dfsg-1+deb10u2) ...\r\nSetting up libnghttp2-14:amd64 (1.36.0-2+deb10u3) ...\r\nSetting up krb5-locales (1.17-3+deb10u6) ...\r\nSetting up libldap-common (2.4.47+dfsg-3+deb10u7) ...\r\nSetting up libkrb5support0:amd64 (1.17-3+deb10u6) ...\r\nSetting up libsasl2-modules-db:amd64 (2.1.27+dfsg-1+deb10u2) ...\r\nSetting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...\r\nSetting up libk5crypto3:amd64 (1.17-3+deb10u6) ...\r\nSetting up libsasl2-2:amd64 (2.1.27+dfsg-1+deb10u2) ...\r\nSetting up libssh2-1:amd64 (1.8.0-2.1+deb10u1) ...\r\nSetting up libkrb5-3:amd64 (1.17-3+deb10u6) ...\r\nSetting up publicsuffix (20220811.1734-0+deb10u1) ...\r\nSetting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u7) ...\r\nSetting up libgssapi-krb5-2:amd64 (1.17-3+deb10u6) ...\r\nSetting up libcurl4:amd64 (7.64.0-4+deb10u9) ...\r\nSetting up curl (7.64.0-4+deb10u9) ...\r\nProcessing triggers for libc-bin (2.28-10) ...\r\n# curl localhost:18080/hello\r\nHello created by Manoj and Tiju# exit\r\n\r\nC:\\Users\\u\u003ekubectl get pods\r\nNAME                                            READY   STATUS    RESTARTS   AGE\r\nrmanoj-spring-deployment-pod-76cdff6666-447rl   1/1     Running   0          31m\r\nrmanoj-spring-deployment-pod-76cdff6666-m7wng   1/1     Running   0          31m\r\n\r\nC:\\Users\\u\u003ekubectl exec -it rmanoj-spring-deployment-pod-76cdff6666-m7wng -- /bin/sh\r\n# apt update \u0026\u0026 apt install curl\r\nGet:1 http://deb.debian.org/debian buster InRelease [122 kB]\r\nGet:2 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]\r\nGet:3 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]\r\nGet:4 http://deb.debian.org/debian buster/main amd64 Packages [7909 kB]\r\nGet:5 http://security.debian.org/debian-security buster/updates/main amd64 Packages [610 kB]\r\nGet:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [8788 B]\r\nFetched 8741 kB in 15s (574 kB/s)\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\n33 packages can be upgraded. Run 'apt list --upgradable' to see them.\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\nThe following additional packages will be installed:\r\n  krb5-locales libcurl4 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libnghttp2-14 libpsl5 librtmp1 libsasl2-2\r\n  libsasl2-modules libsasl2-modules-db libssh2-1 publicsuffix\r\nSuggested packages:\r\n  krb5-doc krb5-user libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql\r\nThe following NEW packages will be installed:\r\n  curl krb5-locales libcurl4 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libnghttp2-14 libpsl5 librtmp1\r\n  libsasl2-2 libsasl2-modules libsasl2-modules-db libssh2-1 publicsuffix\r\n0 upgraded, 18 newly installed, 0 to remove and 33 not upgraded.\r\nNeed to get 2492 kB of archives.\r\nAfter this operation, 5887 kB of additional disk space will be used.\r\nDo you want to continue? [Y/n] Y\r\nGet:1 http://security.debian.org/debian-security buster/updates/main amd64 krb5-locales all 1.17-3+deb10u6 [95.8 kB]\r\nGet:2 http://deb.debian.org/debian buster/main amd64 libkeyutils1 amd64 1.6-6 [15.0 kB]\r\nGet:3 http://security.debian.org/debian-security buster/updates/main amd64 libkrb5support0 amd64 1.17-3+deb10u6 [66.1 kB]\r\nGet:4 http://deb.debian.org/debian buster/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-1+deb10u2 [69.2 kB]\r\nGet:5 http://security.debian.org/debian-security buster/updates/main amd64 libk5crypto3 amd64 1.17-3+deb10u6 [122 kB]\r\nGet:6 http://deb.debian.org/debian buster/main amd64 libsasl2-2 amd64 2.1.27+dfsg-1+deb10u2 [106 kB]\r\nGet:7 http://security.debian.org/debian-security buster/updates/main amd64 libkrb5-3 amd64 1.17-3+deb10u6 [369 kB]\r\nGet:8 http://deb.debian.org/debian buster/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u7 [90.1 kB]\r\nGet:9 http://deb.debian.org/debian buster/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u7 [224 kB]\r\nGet:10 http://security.debian.org/debian-security buster/updates/main amd64 libgssapi-krb5-2 amd64 1.17-3+deb10u6 [159 kB]\r\nGet:11 http://security.debian.org/debian-security buster/updates/main amd64 libnghttp2-14 amd64 1.36.0-2+deb10u3 [86.1 kB]\r\nGet:12 http://deb.debian.org/debian buster/main amd64 libpsl5 amd64 0.20.2-2 [53.7 kB]\r\nGet:13 http://deb.debian.org/debian buster/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2 [60.5 kB]\r\nGet:14 http://deb.debian.org/debian buster/main amd64 libsasl2-modules amd64 2.1.27+dfsg-1+deb10u2 [104 kB]\r\nGet:15 http://security.debian.org/debian-security buster/updates/main amd64 libssh2-1 amd64 1.8.0-2.1+deb10u1 [141 kB]\r\nGet:16 http://security.debian.org/debian-security buster/updates/main amd64 libcurl4 amd64 7.64.0-4+deb10u9 [336 kB]\r\nGet:17 http://deb.debian.org/debian buster/main amd64 publicsuffix all 20220811.1734-0+deb10u1 [127 kB]\r\nGet:18 http://security.debian.org/debian-security buster/updates/main amd64 curl amd64 7.64.0-4+deb10u9 [267 kB]\r\nFetched 2492 kB in 3s (857 kB/s)\r\ndebconf: delaying package configuration, since apt-utils is not installed\r\nSelecting previously unselected package krb5-locales.\r\n(Reading database ... 6891 files and directories currently installed.)\r\nPreparing to unpack .../00-krb5-locales_1.17-3+deb10u6_all.deb ...\r\nUnpacking krb5-locales (1.17-3+deb10u6) ...\r\nSelecting previously unselected package libkeyutils1:amd64.\r\nPreparing to unpack .../01-libkeyutils1_1.6-6_amd64.deb ...\r\nUnpacking libkeyutils1:amd64 (1.6-6) ...\r\nSelecting previously unselected package libkrb5support0:amd64.\r\nPreparing to unpack .../02-libkrb5support0_1.17-3+deb10u6_amd64.deb ...\r\nUnpacking libkrb5support0:amd64 (1.17-3+deb10u6) ...\r\nSelecting previously unselected package libk5crypto3:amd64.\r\nPreparing to unpack .../03-libk5crypto3_1.17-3+deb10u6_amd64.deb ...\r\nUnpacking libk5crypto3:amd64 (1.17-3+deb10u6) ...\r\nSelecting previously unselected package libkrb5-3:amd64.\r\nPreparing to unpack .../04-libkrb5-3_1.17-3+deb10u6_amd64.deb ...\r\nUnpacking libkrb5-3:amd64 (1.17-3+deb10u6) ...\r\nSelecting previously unselected package libgssapi-krb5-2:amd64.\r\nPreparing to unpack .../05-libgssapi-krb5-2_1.17-3+deb10u6_amd64.deb ...\r\nUnpacking libgssapi-krb5-2:amd64 (1.17-3+deb10u6) ...\r\nSelecting previously unselected package libsasl2-modules-db:amd64.\r\nPreparing to unpack .../06-libsasl2-modules-db_2.1.27+dfsg-1+deb10u2_amd64.deb ...\r\nUnpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-1+deb10u2) ...\r\nSelecting previously unselected package libsasl2-2:amd64.\r\nPreparing to unpack .../07-libsasl2-2_2.1.27+dfsg-1+deb10u2_amd64.deb ...\r\nUnpacking libsasl2-2:amd64 (2.1.27+dfsg-1+deb10u2) ...\r\nSelecting previously unselected package libldap-common.\r\nPreparing to unpack .../08-libldap-common_2.4.47+dfsg-3+deb10u7_all.deb ...\r\nUnpacking libldap-common (2.4.47+dfsg-3+deb10u7) ...\r\nSelecting previously unselected package libldap-2.4-2:amd64.\r\nPreparing to unpack .../09-libldap-2.4-2_2.4.47+dfsg-3+deb10u7_amd64.deb ...\r\nUnpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u7) ...\r\nSelecting previously unselected package libnghttp2-14:amd64.\r\nPreparing to unpack .../10-libnghttp2-14_1.36.0-2+deb10u3_amd64.deb ...\r\nUnpacking libnghttp2-14:amd64 (1.36.0-2+deb10u3) ...\r\nSelecting previously unselected package libpsl5:amd64.\r\nPreparing to unpack .../11-libpsl5_0.20.2-2_amd64.deb ...\r\nUnpacking libpsl5:amd64 (0.20.2-2) ...\r\nSelecting previously unselected package librtmp1:amd64.\r\nPreparing to unpack .../12-librtmp1_2.4+20151223.gitfa8646d.1-2_amd64.deb ...\r\nUnpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...\r\nSelecting previously unselected package libssh2-1:amd64.\r\nPreparing to unpack .../13-libssh2-1_1.8.0-2.1+deb10u1_amd64.deb ...\r\nUnpacking libssh2-1:amd64 (1.8.0-2.1+deb10u1) ...\r\nSelecting previously unselected package libcurl4:amd64.\r\nPreparing to unpack .../14-libcurl4_7.64.0-4+deb10u9_amd64.deb ...\r\nUnpacking libcurl4:amd64 (7.64.0-4+deb10u9) ...\r\nSelecting previously unselected package curl.\r\nPreparing to unpack .../15-curl_7.64.0-4+deb10u9_amd64.deb ...\r\nUnpacking curl (7.64.0-4+deb10u9) ...\r\nSelecting previously unselected package libsasl2-modules:amd64.\r\nPreparing to unpack .../16-libsasl2-modules_2.1.27+dfsg-1+deb10u2_amd64.deb ...\r\nUnpacking libsasl2-modules:amd64 (2.1.27+dfsg-1+deb10u2) ...\r\nSelecting previously unselected package publicsuffix.\r\nPreparing to unpack .../17-publicsuffix_20220811.1734-0+deb10u1_all.deb ...\r\nUnpacking publicsuffix (20220811.1734-0+deb10u1) ...\r\nSetting up libkeyutils1:amd64 (1.6-6) ...\r\nSetting up libpsl5:amd64 (0.20.2-2) ...\r\nSetting up libsasl2-modules:amd64 (2.1.27+dfsg-1+deb10u2) ...\r\nSetting up libnghttp2-14:amd64 (1.36.0-2+deb10u3) ...\r\nSetting up krb5-locales (1.17-3+deb10u6) ...\r\nSetting up libldap-common (2.4.47+dfsg-3+deb10u7) ...\r\nSetting up libkrb5support0:amd64 (1.17-3+deb10u6) ...\r\nSetting up libsasl2-modules-db:amd64 (2.1.27+dfsg-1+deb10u2) ...\r\nSetting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...\r\nSetting up libk5crypto3:amd64 (1.17-3+deb10u6) ...\r\nSetting up libsasl2-2:amd64 (2.1.27+dfsg-1+deb10u2) ...\r\nSetting up libssh2-1:amd64 (1.8.0-2.1+deb10u1) ...\r\nSetting up libkrb5-3:amd64 (1.17-3+deb10u6) ...\r\nSetting up publicsuffix (20220811.1734-0+deb10u1) ...\r\nSetting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u7) ...\r\nSetting up libgssapi-krb5-2:amd64 (1.17-3+deb10u6) ...\r\nSetting up libcurl4:amd64 (7.64.0-4+deb10u9) ...\r\nSetting up curl (7.64.0-4+deb10u9) ...\r\nProcessing triggers for libc-bin (2.28-10) ...\r\n# curl localhost:18080/hello\r\nHello created by Manoj and Tiju# ps\r\n/bin/sh: 3: ps: not found\r\n# top\r\n/bin/sh: 4: top: not found\r\n#\r\n\u003cbr\u003e---------------------------------------------\u003cbr\u003e\r\n\r\n\r\n## Docker basic Command\r\nPS C:\\Users\\u\u003e docker search hello\r\nNAME                    DESCRIPTION                                     STARS     OFFICIAL\r\nnginxdemos/hello        NGINX webserver that serves a simple page co…   157\r\nsilasbw/hello                                                           0\r\nbihero/hello            'Hello' word microservice                       0\r\ncy4n/hello              springboot hello playground                     1\r\ncircleci/hello          This image is for internal use                  0\r\nwiddix/hello            Hello World!                                    0\r\nkelseyhightower/hello                                                   10\r\njohanburati/hello       Http server for testing traffic between mach…   0\r\nraeffs/hello                                                            0\r\nlizrice/hello           Simple examples of containerizing Golang cod…   0\r\ncfgarden/hello                                                          0\r\nanafomin/hello                                                          0\r\ncorticoai/hello                                                         0\r\nmonopole/hello                                                          1\r\nmulspace/hello          Hello docker for web. It will run python web…   0\r\ntomvo12/hello                                                           0\r\nsigmadev/hello                                                          0\r\novhplatform/hello                                                       1\r\njeromebaude/hello                                                       0\r\nsingatwaria/hello                                                       0\r\ntreeder/hello                                                           0\r\ncloudecho/hello         Hello                                           0\r\nacarmack/hello                                                          0\r\nchiphwang/hello                                                         0\r\ntanzufun/hello                                                          1\r\nPS C:\\Users\\u\u003e docker pull hello-world\r\nUsing default tag: latest\r\nlatest: Pulling from library/hello-world\r\nc1ec31eb5944: Pull complete\r\nDigest: sha256:91fb4b041da273d5a3273b6d587d62d518300a6ad268b28628f74997b93171b2\r\nStatus: Downloaded newer image for hello-world:latest\r\ndocker.io/library/hello-world:latest\r\n\r\nWhat's next:\r\n    View a summary of image vulnerabilities and recommendations → docker scout quickview hello-world\r\nPS C:\\Users\\u\u003e docker image ls\r\nREPOSITORY                        TAG                IMAGE ID       CREATED         SIZE\r\nrmanojcse06/spring-boot-hello     0.0.1              9d4fd7dce456   4 days ago      420MB\r\nmy-spring-boot-app                latest             1dfccde513ea   4 days ago      351MB\r\ntiju/my-spring-boot-app           latest             1dfccde513ea   4 days ago      351MB\r\nvarghese25/my-spring-boot-app     latest             1dfccde513ea   4 days ago      351MB\r\nyourusername/my-spring-boot-app   latest             1dfccde513ea   4 days ago      351MB\r\ngcr.io/k8s-minikube/kicbase       v0.0.45            aeed0e1d4642   2 weeks ago     1.28GB\r\npostgres                          latest             b781f3a53e61   6 weeks ago     432MB\r\npostgres                          13.16-alpine3.20   ed06eaccad7e   6 weeks ago     238MB\r\nhello-world                       latest             d2c94e258dcb   16 months ago   13.3kB\r\nopenjdk                           17-jdk-alpine      264c9bdce361   3 years ago     326MB\r\nPS C:\\Users\\u\u003e docker rmi hello-world\r\nUntagged: hello-world:latest\r\nUntagged: hello-world@sha256:91fb4b041da273d5a3273b6d587d62d518300a6ad268b28628f74997b93171b2\r\nDeleted: sha256:d2c94e258dcb3c5ac2798d32e1249e42ef01cba4841c2234249495f87264ac5a\r\nDeleted: sha256:ac28800ec8bb38d5c35b49d45a6ac4777544941199075dff8c4eb63e093aa81e\r\nPS C:\\Users\\u\u003e docker image ls\r\nREPOSITORY                        TAG                IMAGE ID       CREATED       SIZE\r\nrmanojcse06/spring-boot-hello     0.0.1              9d4fd7dce456   4 days ago    420MB\r\ntiju/my-spring-boot-app           latest             1dfccde513ea   4 days ago    351MB\r\nvarghese25/my-spring-boot-app     latest             1dfccde513ea   4 days ago    351MB\r\nyourusername/my-spring-boot-app   latest             1dfccde513ea   4 days ago    351MB\r\nmy-spring-boot-app                latest             1dfccde513ea   4 days ago    351MB\r\ngcr.io/k8s-minikube/kicbase       v0.0.45            aeed0e1d4642   2 weeks ago   1.28GB\r\npostgres                          latest             b781f3a53e61   6 weeks ago   432MB\r\npostgres                          13.16-alpine3.20   ed06eaccad7e   6 weeks ago   238MB\r\nopenjdk                           17-jdk-alpine      264c9bdce361   3 years ago   326MB\r\nPS C:\\Users\\u\u003e docker pull hello-world\r\nUsing default tag: latest\r\nlatest: Pulling from library/hello-world\r\nc1ec31eb5944: Pull complete\r\nDigest: sha256:91fb4b041da273d5a3273b6d587d62d518300a6ad268b28628f74997b93171b2\r\nStatus: Downloaded newer image for hello-world:latest\r\ndocker.io/library/hello-world:latest\r\n\r\nWhat's next:\r\n    View a summary of image vulnerabilities and recommendations → docker scout quickview hello-world\r\nPS C:\\Users\\u\u003e docker image ls\r\nREPOSITORY                        TAG                IMAGE ID       CREATED         SIZE\r\nrmanojcse06/spring-boot-hello     0.0.1              9d4fd7dce456   4 days ago      420MB\r\nmy-spring-boot-app                latest             1dfccde513ea   4 days ago      351MB\r\ntiju/my-spring-boot-app           latest             1dfccde513ea   4 days ago      351MB\r\nvarghese25/my-spring-boot-app     latest             1dfccde513ea   4 days ago      351MB\r\nyourusername/my-spring-boot-app   latest             1dfccde513ea   4 days ago      351MB\r\ngcr.io/k8s-minikube/kicbase       v0.0.45            aeed0e1d4642   2 weeks ago     1.28GB\r\npostgres                          latest             b781f3a53e61   6 weeks ago     432MB\r\npostgres                          13.16-alpine3.20   ed06eaccad7e   6 weeks ago     238MB\r\nhello-world                       latest             d2c94e258dcb   16 months ago   13.3kB\r\nopenjdk                           17-jdk-alpine      264c9bdce361   3 years ago     326MB\r\nPS C:\\Users\\u\u003e docker run hello-world\r\n\r\nHello from Docker!\r\nThis message shows that your installation appears to be working correctly.\r\n\r\nTo generate this message, Docker took the following steps:\r\n 1. The Docker client contacted the Docker daemon.\r\n 2. The Docker daemon pulled the \"hello-world\" image from the Docker Hub.\r\n    (amd64)\r\n 3. The Docker daemon created a new container from that image which runs the\r\n    executable that produces the output you are currently reading.\r\n 4. The Docker daemon streamed that output to the Docker client, which sent it\r\n    to your terminal.\r\n\r\nTo try something more ambitious, you can run an Ubuntu container with:\r\n $ docker run -it ubuntu bash\r\n\r\nShare images, automate workflows, and more with a free Docker ID:\r\n https://hub.docker.com/\r\n\r\nFor more examples and ideas, visit:\r\n https://docs.docker.com/get-started/\r\n\r\nPS C:\\Users\\u\u003e docker ps -a\r\nCONTAINER ID   IMAGE         COMMAND    CREATED          STATUS                      PORTS     NAMES\r\na2a3a435f387   hello-world   \"/hello\"   44 seconds ago   Exited (0) 39 seconds ago             relaxed_borg\r\nPS C:\\Users\\u\u003e docker run hello-world\r\n\r\nHello from Docker!\r\nThis message shows that your installation appears to be working correctly.\r\n\r\nTo generate this message, Docker took the following steps:\r\n 1. The Docker client contacted the Docker daemon.\r\n 2. The Docker daemon pulled the \"hello-world\" image from the Docker Hub.\r\n    (amd64)\r\n 3. The Docker daemon created a new container from that image which runs the\r\n    executable that produces the output you are currently reading.\r\n 4. The Docker daemon streamed that output to the Docker client, which sent it\r\n    to your terminal.\r\n\r\nTo try something more ambitious, you can run an Ubuntu container with:\r\n $ docker run -it ubuntu bash\r\n\r\nShare images, automate workflows, and more with a free Docker ID:\r\n https://hub.docker.com/\r\n\r\nFor more examples and ideas, visit:\r\n https://docs.docker.com/get-started/\r\n\r\nPS C:\\Users\\u\u003e docker ps -a\r\nCONTAINER ID   IMAGE         COMMAND    CREATED              STATUS                          PORTS     NAMES\r\n044c1cf201d4   hello-world   \"/hello\"   12 seconds ago       Exited (0) 8 seconds ago                  youthful_bhabha\r\na2a3a435f387   hello-world   \"/hello\"   About a minute ago   Exited (0) About a minute ago             relaxed_borg\r\nPS C:\\Users\\u\u003e docker run --name myHello hello-world\r\n\r\nHello from Docker!\r\nThis message shows that your installation appears to be working correctly.\r\n\r\nTo generate this message, Docker took the following steps:\r\n 1. The Docker client contacted the Docker daemon.\r\n 2. The Docker daemon pulled the \"hello-world\" image from the Docker Hub.\r\n    (amd64)\r\n 3. The Docker daemon created a new container from that image which runs the\r\n    executable that produces the output you are currently reading.\r\n 4. The Docker daemon streamed that output to the Docker client, which sent it\r\n    to your terminal.\r\n\r\nTo try something more ambitious, you can run an Ubuntu container with:\r\n $ docker run -it ubuntu bash\r\n\r\nShare images, automate workflows, and more with a free Docker ID:\r\n https://hub.docker.com/\r\n\r\nFor more examples and ideas, visit:\r\n https://docs.docker.com/get-started/\r\n\r\nPS C:\\Users\\u\u003e docker ps -a\r\nCONTAINER ID   IMAGE         COMMAND    CREATED          STATUS                          PORTS     NAMES\r\ncd4adf9301a4   hello-world   \"/hello\"   13 seconds ago   Exited (0) 9 seconds ago                  myHello\r\n044c1cf201d4   hello-world   \"/hello\"   2 minutes ago    Exited (0) About a minute ago             youthful_bhabha\r\na2a3a435f387   hello-world   \"/hello\"   3 minutes ago    Exited (0) 3 minutes ago                  relaxed_borg\r\nPS C:\\Users\\u\u003e docker image ls\r\nREPOSITORY                        TAG                IMAGE ID       CREATED         SIZE\r\nrmanojcse06/spring-boot-hello     0.0.1              9d4fd7dce456   4 days ago      420MB\r\nmy-spring-boot-app                latest             1dfccde513ea   4 days ago      351MB\r\ntiju/my-spring-boot-app           latest             1dfccde513ea   4 days ago      351MB\r\nvarghese25/my-spring-boot-app     latest             1dfccde513ea   4 days ago      351MB\r\nyourusername/my-spring-boot-app   latest             1dfccde513ea   4 days ago      351MB\r\ngcr.io/k8s-minikube/kicbase       v0.0.45            aeed0e1d4642   2 weeks ago     1.28GB\r\npostgres                          latest             b781f3a53e61   6 weeks ago     432MB\r\npostgres                          13.16-alpine3.20   ed06eaccad7e   6 weeks ago     238MB\r\nhello-world                       latest             d2c94e258dcb   16 months ago   13.3kB\r\nopenjdk                           17-jdk-alpine      264c9bdce361   3 years ago     326MB\r\nPS C:\\Users\\u\u003e docker rmi hello-world\r\nError response from daemon: conflict: unable to remove repository reference \"hello-world\" (must force) - container a2a3a435f387 is using its referenced image d2c94e258dcb\r\nPS C:\\Users\\u\u003e docker rm cd4adf9301a4\r\ncd4adf9301a4\r\nPS C:\\Users\\u\u003e docker ps\r\nCONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES\r\nPS C:\\Users\\u\u003e docker ls\r\ndocker: 'ls' is not a docker command.\r\nSee 'docker --help'\r\nPS C:\\Users\\u\u003e docker ps -a\r\nCONTAINER ID   IMAGE         COMMAND    CREATED         STATUS                     PORTS     NAMES\r\n044c1cf201d4   hello-world   \"/hello\"   4 minutes ago   Exited (0) 4 minutes ago             youthful_bhabha\r\na2a3a435f387   hello-world   \"/hello\"   6 minutes ago   Exited (0) 6 minutes ago             relaxed_borg\r\nPS C:\\Users\\u\u003e docker run --name TijuHello hello-world\r\n\r\nHello from Docker!\r\nThis message shows that your installation appears to be working correctly.\r\n\r\nTo generate this message, Docker took the following steps:\r\n 1. The Docker client contacted the Docker daemon.\r\n 2. The Docker daemon pulled the \"hello-world\" image from the Docker Hub.\r\n    (amd64)\r\n 3. The Docker daemon created a new container from that image which runs the\r\n    executable that produces the output you are currently reading.\r\n 4. The Docker daemon streamed that output to the Docker client, which sent it\r\n    to your terminal.\r\n\r\nTo try something more ambitious, you can run an Ubuntu container with:\r\n $ docker run -it ubuntu bash\r\n\r\nShare images, automate workflows, and more with a free Docker ID:\r\n https://hub.docker.com/\r\n\r\nFor more examples and ideas, visit:\r\n https://docs.docker.com/get-started/\r\n\r\nPS C:\\Users\\u\u003e docker ps -a\r\nCONTAINER ID   IMAGE         COMMAND    CREATED         STATUS                     PORTS     NAMES\r\naf2ad1b8f827   hello-world   \"/hello\"   9 seconds ago   Exited (0) 5 seconds ago             TijuHello\r\n044c1cf201d4   hello-world   \"/hello\"   5 minutes ago   Exited (0) 5 minutes ago             youthful_bhabha\r\na2a3a435f387   hello-world   \"/hello\"   6 minutes ago   Exited (0) 6 minutes ago             relaxed_borg\r\nPS C:\\Users\\u\u003e docker rm af2ad1b8f827\r\naf2ad1b8f827\r\nPS C:\\Users\\u\u003e docker ls\r\ndocker: 'ls' is not a docker command.\r\nSee 'docker --help'\r\nPS C:\\Users\\u\u003e docker image ls\r\nREPOSITORY                        TAG                IMAGE ID       CREATED         SIZE\r\nrmanojcse06/spring-boot-hello     0.0.1              9d4fd7dce456   4 days ago      420MB\r\nmy-spring-boot-app                latest             1dfccde513ea   4 days ago      351MB\r\ntiju/my-spring-boot-app           latest             1dfccde513ea   4 days ago      351MB\r\nvarghese25/my-spring-boot-app     latest             1dfccde513ea   4 days ago      351MB\r\nyourusername/my-spring-boot-app   latest             1dfccde513ea   4 days ago      351MB\r\ngcr.io/k8s-minikube/kicbase       v0.0.45            aeed0e1d4642   2 weeks ago     1.28GB\r\npostgres                          latest             b781f3a53e61   6 weeks ago     432MB\r\npostgres                          13.16-alpine3.20   ed06eaccad7e   6 weeks ago     238MB\r\nhello-world                       latest             d2c94e258dcb   16 months ago   13.3kB\r\nopenjdk                           17-jdk-alpine      264c9bdce361   3 years ago     326MB\r\nPS C:\\Users\\u\u003e docker container ls -a\r\nCONTAINER ID   IMAGE         COMMAND    CREATED         STATUS                     PORTS     NAMES\r\n044c1cf201d4   hello-world   \"/hello\"   6 minutes ago   Exited (0) 6 minutes ago             youthful_bhabha\r\na2a3a435f387   hello-world   \"/hello\"   7 minutes ago   Exited (0) 7 minutes ago             relaxed_borg\r\nPS C:\\Users\\u\u003e docker rmi hello-world\r\nError response from daemon: conflict: unable to remove repository reference \"hello-world\" (must force) - container 044c1cf201d4 is using its referenced image d2c94e258dcb\r\nPS C:\\Users\\u\u003e docker rm 044c1cf201d4\r\n044c1cf201d4\r\nPS C:\\Users\\u\u003e docker container ls -a\r\nCONTAINER ID   IMAGE         COMMAND    CREATED          STATUS                      PORTS     NAMES\r\na2a3a435f387   hello-world   \"/hello\"   10 minutes ago   Exited (0) 10 minutes ago             relaxed_borg\r\nPS C:\\Users\\u\u003e docker rm a2a3a435f387\r\na2a3a435f387\r\nPS C:\\Users\\u\u003e docker container ls -a\r\nCONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES\r\nPS C:\\Users\\u\u003e docker run hello-world\r\n\r\nHello from Docker!\r\nThis message shows that your installation appears to be working correctly.\r\n\r\nTo generate this message, Docker took the following steps:\r\n 1. The Docker client contacted the Docker daemon.\r\n 2. The Docker daemon pulled the \"hello-world\" image from the Docker Hub.\r\n    (amd64)\r\n 3. The Docker daemon created a new container from that image which runs the\r\n    executable that produces the output you are currently reading.\r\n 4. The Docker daemon streamed that output to the Docker client, which sent it\r\n    to your terminal.\r\n\r\nTo try something more ambitious, you can run an Ubuntu container with:\r\n $ docker run -it ubuntu bash\r\n\r\nShare images, automate workflows, and more with a free Docker ID:\r\n https://hub.docker.com/\r\n\r\nFor more examples and ideas, visit:\r\n https://docs.docker.com/get-started/\r\n\r\nPS C:\\Users\\u\u003e docker container ls -a\r\nCONTAINER ID   IMAGE         COMMAND    CREATED          STATUS                     PORTS     NAMES\r\nae71337af281   hello-world   \"/hello\"   10 seconds ago   Exited (0) 6 seconds ago             gifted_kirch\r\nPS C:\\Users\\u\u003e docker ps -a\r\nCONTAINER ID   IMAGE         COMMAND    CREATED              STATUS                          PORTS     NAMES\r\nae71337af281   hello-world   \"/hello\"   About a minute ago   Exited (0) About a minute ago             gifted_kirch\r\nPS C:\\Users\\u\u003e docker run alpine ls\r\nUnable to find image 'alpine:latest' locally\r\nlatest: Pulling from library/alpine\r\n43c4264eed91: Already exists\r\nDigest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d\r\nStatus: Downloaded newer image for alpine:latest\r\nbin\r\ndev\r\netc\r\nhome\r\nlib\r\nmedia\r\nmnt\r\nopt\r\nproc\r\nroot\r\nrun\r\nsbin\r\nsrv\r\nsys\r\ntmp\r\nusr\r\nvar\r\nPS C:\\Users\\u\u003e docker run -it alphine sh\r\nUnable to find image 'alphine:latest' locally\r\ndocker: Error response from daemon: pull access denied for alphine, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.\r\nSee 'docker run --help'.\r\nPS C:\\Users\\u\u003e docker ps\r\nCONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES\r\nPS C:\\Users\\u\u003e docker run -it alphine sh\r\nUnable to find image 'alphine:latest' locally\r\ndocker: Error response from daemon: pull access denied for alphine, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.\r\nSee 'docker run --help'.\r\nPS C:\\Users\\u\u003e docker exec it ae71337af281\r\nError response from daemon: No such container: it\r\nPS C:\\Users\\u\u003e\r\n\r\n\u003cbr\u003e--------------------------------------------------------------------------\u003cbr\u003e\r\n\r\n\r\n                     ##Docker Command \u0026 Practise\r\n\r\n\r\n\r\nDocker : https://www.youtube.com/watch?v=0O_FxUMCmYc\r\n\r\n\r\nPractical introduction to docker architecture, commands, images and containers.\r\n- docker pull\r\n- docker run\r\n- docker start\r\n- docker exec\r\n- docker stop\r\n- docker restart\r\n\r\n\r\n\r\ndocker pull hello-world #Pull the images#\r\n\r\ndocker image ls #List the image#\r\n\r\ndocker rmi hello-world #rmi remove image hello-world#\r\n\r\ndocker run hello-world #Execute OutPut display result as: Hello from Docker! and exit from the container #\r\n\r\ndocker ps #Show running #\r\n\r\ndocker ps -a  #showa all running container Even Stopped Container#\r\n\r\ndocker run --name Varghese25 hello-world   #this used created my Own name container  as varghese25 to pulled hello-world image #\r\n\r\ndocker container ls -a (docker ps -a)\r\n\r\ndocker run hello-world #Unaavailable locally it pull from docker registry it download image and container give us the outPut#\r\n\r\n\r\nAlpine\r\n\r\ndocker run alpine\r\n\r\ndocker image ls\r\n\r\ndocker ps -a\r\n\r\ndocker run alpine ls\r\n\r\ndocker ps -a\r\n\r\n\r\n\r\nOpen in Terminal 1\r\ndocker run -it alpine sh (it interactive sh shell commands can be writter) \r\n#\r\nOpen in Terminal 2\r\nWe can see the Termainal 1  --\u003e its say that shell is running Status is  Up 2 minutes\r\nC:\\Users\\u\u003edocker ps\r\nCONTAINER ID   IMAGE     COMMAND   CREATED         STATUS         PORTS     NAMES\r\nb33fa8702f8c   alpine    \"sh\"      2 minutes ago   Up 2 minutes             confident_bell\r\n\r\n# bin    dev    etc    home   lib    media  mnt    opt    proc   root   run    sbin   srv    sys    tmp    usr    var\r\n\r\n# ls\r\n/ # apk add wget\r\nfetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz\r\nfetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz\r\n(1/4) Installing libunistring (1.2-r0)\r\n(2/4) Installing libidn2 (2.3.7-r0)\r\n(3/4) Installing pcre2 (10.43-r0)\r\n(4/4) Installing wget (1.24.5-r0)\r\nExecuting busybox-1.36.1-r29.trigger\r\nOK: 11 MiB in 18 packages\r\n/ #exit\r\n\r\ndocker ps #once exit can't se the working container will be closed#\r\n\r\n\r\ndocker start c9f938e4888d #To start container with container Id or Name Example alphine##\r\n\r\nOpen New Termainal or Existing Terminal to check the container Working or not\r\n\r\ndocker exec -it b33fa8702f8c sh #Exec -it to run again the container#\r\n\r\nif you stop docker running container will terminate from all terminal\r\n\r\ndocker restart b33fa8702f8c #Restart the conatiner with conatiner name#\r\n----------------------------------------------------------------------------------------------------------\r\n\r\n\r\n creating images and sharing\r\n \r\n docker pull httpd\r\n \r\n \r\n  docker run -d --name WebServerTiju -p 9090:80 httpd #port exposing 9090:80 localhost. webservers by default listen 80 port run's inside container which will forward local host 9090\t #\r\n  \r\n  \r\n  PS C:\\Users\\u\u003e docker run -d --name WebServerTiju -p 9090:80 httpd\r\n  \r\n229f96783dce643bc64650e3ae138a5324390b468a93ca00be5aedcea498f03d\r\n\r\nPS C:\\Users\\u\u003e docker ps -a\r\nCONTAINER ID   IMAGE         COMMAND              CREATED          STATUS                        PORTS                  NAMES\r\n229f96783dce   httpd         \"httpd-foreground\"   6 minutes ago    Up 6 minutes                  0.0.0.0:9090-\u003e80/tcp   WebServerTiju\r\n\r\nStep 1: Go any browser\r\nStep 2:  http://localhost:9090/\r\nStep 3: Output will display As \"It Works\"\r\n\r\n\r\n\r\n\r\ndocker exec -it WebServerTiju bash\r\nroot@229f96783dce:/usr/local/apache2# cd htdocs/\r\nroot@229f96783dce:/usr/local/apache2/htdocs# ls\r\nindex.html\r\nroot@229f96783dce:/usr/local/apache2/htdocs#\r\n\r\nroot@229f96783dce:/usr/local/apache2/htdocs# cat index.html\r\n\u003chtml\u003e\u003cbody\u003e\u003ch1\u003eIt works!\u003c/h1\u003e\u003c/body\u003e\u003c/html\u003e\r\nroot@229f96783dce:/usr/local/apache2/htdocs# cat \u003e mypage.html\r\nThis is my Docker Page and Commands                                                       #Control D for exit fromTyping#\r\nroot@229f96783dce:/usr/local/apache2/htdocs#\r\n\r\n\r\nOutPut \r\nhttp://localhost:9090/mypage.html\r\n\r\n\r\nThis is my Docker Page and Commands\r\n\r\n\r\n\r\n\r\nroot@229f96783dce:/usr/local/apache2/htdocs# exit\r\nexit\r\n\r\nWhat's next:\r\n    Try Docker Debug for seamless, persistent debugging tools in any container or image → docker debug WebServerTiju\r\n    Learn more at https://docs.docker.com/go/debug-cli/\r\n\t\r\n\t\r\n\t\r\nPS C:\\Users\\u\u003e docker ps\r\nCONTAINER ID   IMAGE     COMMAND              CREATED          STATUS          PORTS                  NAMES\r\n229f96783dce   httpd     \"httpd-foreground\"   18 minutes ago   Up 18 minutes   0.0.0.0:9090-\u003e80/tcp   WebServerTiju\r\n\r\n\r\n---------------Add - A Chnaged -C\r\n\r\nPS C:\\Users\\u\u003e docker diff WebServerTiju\r\nC /usr\r\nC /usr/local\r\nC /usr/local/apache2\r\nC /usr/local/apache2/htdocs\r\nA /usr/local/apache2/htdocs/mypage.html\r\nC /usr/local/apache2/logs\r\nA /usr/local/apache2/logs/httpd.pid\r\nC /root\r\nA /root/.bash_history\r\nPS C:\\Users\\u\u003e\r\n\r\n\r\nPS C:\\Users\\u\u003e docker commit WebServerTiju  (New Image Id Created)\r\nsha256:b988aa501844a108ab58efcca1eb573fcf728ff3876f819a5ad4a64156bb7664\r\ns\r\n\r\nPS C:\\Users\\u\u003e docker image ls\r\nREPOSITORY                        TAG                IMAGE ID       CREATED          SIZE\r\n\u003cnone\u003e                            \u003cnone\u003e             b988aa501844   18 seconds ago   148MB  #new imageId match#\r\n\r\nPS C:\\Users\\u\u003e docker ps\r\nCONTAINER ID   IMAGE     COMMAND              CREATED          STATUS          PORTS                  NAMES\r\n229f96783dce   httpd     \"httpd-foreground\"   28 minutes ago   Up 28 minutes   0.0.0.0:9090-\u003e80/tcp   WebServerTiju\r\n\r\n\r\n\r\nPS C:\\Users\\u\u003e docker ps\r\nCONTAINER ID   IMAGE     COMMAND              CREATED          STATUS          PORTS                  NAMES\r\n229f96783dce   httpd     \"httpd-foreground\"   28 minutes ago   Up 28 minutes   0.0.0.0:9090-\u003e80/tcp   WebServerTiju\r\nPS C:\\Users\\u\u003e docker stop WebServerTiju\r\nWebServerTiju\r\nPS C:\\Users\\u\u003e docker image ls\r\nREPOSITORY                        TAG                IMAGE ID       CREATED          SIZE\r\n\u003cnone\u003e                            \u003cnone\u003e             b988aa501844   10 minutes ago   148MB\r\nrmanojcse06/spring-boot-hello     0.0.1              9d4fd7dce456   6 days ago       420MB\r\ntiju/my-spring-boot-app           latest             1dfccde513ea   6 days ago       351MB\r\nvarghese25/my-spring-boot-app     latest             1dfccde513ea   6 days ago       351MB\r\nyourusername/my-spring-boot-app   latest             1dfccde513ea   6 days ago       351MB\r\nmy-spring-boot-app                latest             1dfccde513ea   6 days ago       351MB\r\nalpine                            latest             91ef0af61f39   2 weeks ago      7.8MB\r\ngcr.io/k8s-minikube/kicbase       v0.0.45            aeed0e1d4642   2 weeks ago      1.28GB\r\npostgres                          latest             b781f3a53e61   6 weeks ago      432MB\r\npostgres                          13.16-alpine3.20   ed06eaccad7e   6 weeks ago      238MB\r\nhttpd                             latest             9cb0a2315602   2 months ago     148MB\r\nhello-world                       latest             d2c94e258dcb   17 months ago    13.3kB\r\nopenjdk                           17-jdk-alpine      264c9bdce361   3 years ago      326MB\r\nPS C:\\Users\\u\u003e docker run -d --name myOwnServer  -p 5070:80 b988aa501844\r\n1d3c8532d2082e0e595c2ef617ca1ce890c532ead3c8cc2dbab6742dd587c20b\r\n\r\n\r\n\r\nPS C:\\Users\\u\u003e docker ps  #Our Own Image ID#\r\nCONTAINER ID   IMAGE          COMMAND              CREATED              STATUS              PORTS                  NAMES\r\n1d3c8532d208   b988aa501844   \"httpd-foreground\"   About a minute ago   Up About a minute   0.0.0.0:5070-\u003e80/tcp   myOwnServer\r\n\r\n\r\nhttp://localhost:5070/mypage.html\r\n\r\nThis is my Docker Page and Commands\r\n\r\n\r\n\r\n\r\nPS C:\\Users\\u\u003e docker image ls\r\nREPOSITORY                        TAG                IMAGE ID       CREATED          SIZE\r\n\u003cnone\u003e                            \u003cnone\u003e             b988aa501844   14 minutes ago   148MB\r\n\r\nPS C:\\Users\\u\u003e docker tag b988aa501844 myWebserver:Version1\r\n\r\nError parsing reference: \"myWebserver:Version1\" is not a valid repository/tag: invalid reference format: repository name (library/myWebserver) must be lowercase\r\nPS C:\\Users\\u\u003e docker tag b988aa501844 mywebserver:version1\r\n\r\nPS C:\\Users\\u\u003e docker image ls\r\nREPOSITORY                        TAG                IMAGE ID       CREATED          SIZE\r\nmywebserver                       version1           b988aa501844   16 minutes ago   148MB\r\n\r\nPS C:\\Users\\u\u003e docker save mywebserver:version1 \u003e mywebserver-version1.tar   #Alternative COMMAND both does samework docker save -o mywebserver-version1.tar #\r\n\r\n\r\nPS C:\\Users\\u\u003e ls\r\n\r\n\r\n    Directory: C:\\Users\\u\r\n\r\n\r\nMode                 LastWriteTime         Length Name\r\n----                 -------------         ------ ----\r\n\r\n-a----           9/23/24   3:22 PM      139280510 mywebserver-version1.tar\r\n-a----           9/20/24   2:18 PM            325 service.yaml\r\n\r\n\r\n docker load -i mywebserver-version1.tar // To share file to other's it similar to pull commmad to check our outPut to view locally with send to docker Hub\r\n \r\n \r\n \r\n PS C:\\Users\\u\u003e docker login\r\nAuthenticating with existing credentials...\r\nLogin Succeeded\r\nPS C:\\Users\\u\u003e docker push varghese25/mywebserver:version1\r\nThe push refers to repository [docker.io/varghese25/mywebserver]\r\nAn image does not exist locally with the tag: varghese25/mywebserver\r\nPS C:\\Users\\u\u003e docker image ls\r\nREPOSITORY                        TAG                IMAGE ID       CREATED          SIZE\r\nmywebserver                       version1           b988aa501844   32 minutes ago   148MB\r\nrmanojcse06/spring-boot-hello     0.0.1              9d4fd7dce456   6 days ago       420MB\r\nmy-spring-boot-app                latest             1dfccde513ea   6 days ago       351MB\r\ntiju/my-spring-boot-app           latest             1dfccde513ea   6 days ago       351MB\r\nvarghese25/my-spring-boot-app     latest             1dfccde513ea   6 days ago       351MB\r\nyourusername/my-spring-boot-app   latest             1dfccde513ea   6 days ago       351MB\r\nalpine                            latest             91ef0af61f39   2 weeks ago      7.8MB\r\ngcr.io/k8s-minikube/kicbase       v0.0.45            aeed0e1d4642   2 weeks ago      1.28GB\r\npostgres                          latest             b781f3a53e61   6 weeks ago      432MB\r\npostgres                          13.16-alpine3.20   ed06eaccad7e   6 weeks ago      238MB\r\nhttpd                             latest             9cb0a2315602   2 months ago     148MB\r\nhello-world                       latest             d2c94e258dcb   17 months ago    13.3kB\r\nopenjdk                           17-jdk-alpine      264c9bdce361   3 years ago      326MB\r\n\r\n\r\nPS C:\\Users\\u\u003e docker tag mywebserver:version1 varghese25/mywebserver\r\n\r\n\r\nPS C:\\Users\\u\u003e docker image ls\r\nREPOSITORY                        TAG                IMAGE ID       CREATED          SIZE\r\nmywebserver                       version1           b988aa501844   38 minutes ago   148MB\r\nvarghese25/mywebserver            latest             b988aa501844   38 minutes ago   148MB\r\n\r\n\u003cbr\u003e------------------------------------------------------------------------------------------------------------------------\u003cbr\u003e\r\n##Date 25-09-2024\u003cbr\u003e\r\n\r\n Kubernetes (k8S) from k to s 8 letters in short k8s \u003cbr\u003e\r\n\r\n\r\n kubectl (client) #Master server which talk to k8s Api response shows as output similiar to docker tools running docker machine showed us docker out same kubectl#\u003cbr\u003e\r\n \r\n \r\n minikube (single-node cluster)\u003cbr\u003e\r\n \r\n kubeadm    \u003cbr\u003e\r\n \r\n node -\u003e computer machine or virtural machine\u003cbr\u003e\r\n \r\n pod -\u003e container\u003cbr\u003e\r\n \r\n \r\n\r\n##Linux(Ubutu)\u003cbr\u003e\r\n\r\nvarghese@DESKTOP-OODIU93:~$ alias k=kubectl\u003cbr\u003e\r\n\r\nvarghese@DESKTOP-OODIU93:~$ k version --client\u003cbr\u003e\r\n\r\nClient Version: v1.30.2\u003cbr\u003e\r\nKustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3\u003cbr\u003e\r\nvarghese@DESKTOP-OODIU93:~$ pwd\u003cbr\u003e\r\n/home/varghese\u003cbr\u003e\r\nvarghese@DESKTOP-OODIU93:~$\u003cbr\u003e\r\n\r\n\r\n\r\n\u003cbr\u003e-------------------------------------------------------------------------------------\u003cbr\u003e\r\n\r\n\r\nDate 26-09-2024 K8s\r\n\r\n##Topic: Minikube with single Node(Ip System) cluster Created \u0026 Kubectl Config and with node wheather Its communicting or not checked.\u003cbr\u003e\r\n\r\n(https://www.youtube.com/watch?v=7g5HLFg9QMI\u0026list=PL5eh956CtlETZMJEMR866PCS2YNg_3O6d).\u003cbr\u003e\r\n\r\nPS C:\\Users\\u\u003e Set-Alias m minikube\r\n\r\nPS C:\\Users\\u\u003e minikube delete\r\n* Deleting \"minikube\" in docker ...\r\n* Deleting container \"minikube\" ...\r\n* Removing C:\\Users\\u\\.minikube\\machines\\minikube ...\r\n* Removed all traces of the \"minikube\" cluster.\r\n\r\nPS C:\\Users\\u\u003e minikube update-check\r\nCurrentVersion: v1.34.0\r\nLatestVersion: v1.34.0\r\n\r\nPS C:\\Users\\u\u003e m start --driver=docker\r\n* minikube v1.34.0 on Microsoft Windows 10 Pro 10.0.19045.4957 Build 19045.4957\r\n* Using the docker driver based on user configuration\r\n* Using Docker Desktop driver with root privileges\r\n* Starting \"minikube\" primary control-plane node in \"minikube\" cluster\r\n* Pulling base image v0.0.45 ...\r\n* Creating docker container (CPUs=4, Memory=3000MB) ...\r\n! Failing to connect to https://registry.k8s.io/ from inside the minikube container\r\n* To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/\r\n* Preparing Kubernetes v1.31.0 on Docker 27.2.0 ...\r\n  - Generating certificates and keys ...\r\n  - Booting up control plane ...\r\n  - Configuring RBAC rules ...\r\n* Configuring bridge CNI (Container Networking Interface) ...\r\n* Verifying Kubernetes components...\r\n  - Using image gcr.io/k8s-minikube/storage-provisioner:v5\r\n* Enabled addons: storage-provisioner, default-storageclass\r\n* Done! kubectl is now configured to use \"minikube\" cluster and \"default\" namespace by default\r\n\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e m status\r\n\r\nminikube\r\ntype: Control Plane\r\nhost: Running\r\nkubelet: Running\r\napiserver: Running\r\nkubeconfig: Configured\r\n\r\nPS C:\\Users\\u\u003e m version\r\nminikube version: v1.34.0\r\ncommit: 210b148df93a80eb872ecbeb7e35281b3c582c61\r\n\r\nPS C:\\Users\\u\u003e docker ps\r\n\r\nCONTAINER ID   IMAGE                                 COMMAND                  CREATED          STATUS          PORTS                                                                                                                                  NAMES\r\nfbc9c3817d01   gcr.io/k8s-minikube/kicbase:v0.0.45   \"/usr/local/bin/entr…\"   49 minutes ago   Up 49 minutes   127.0.0.1:51682-\u003e22/tcp, 127.0.0.1:51678-\u003e2376/tcp, 127.0.0.1:51680-\u003e5000/tcp, 127.0.0.1:51681-\u003e8443/tcp, 127.0.0.1:51679-\u003e32443/tcp   minikube\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e docker exec -it minikube bash\r\nroot@minikube:/#exit\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e m ssh\r\ndocker@minikube:~$\r\nPS C:\\Users\\u\u003e m ssh\r\ndocker@minikube:~$   #docker@minikube is a node other words virtual machine#\r\ndocker@minikube:~$\r\ndocker@minikube:~$\r\ndocker@minikube:~$\r\ndocker@minikube:~$ docker ps\r\ndocker@minikube:~$ docker ps #Master node how container running we can check below#\r\nCONTAINER ID   IMAGE                        COMMAND                  CREATED          STATUS          PORTS     NAMES\r\n8280c3feab8d   6e38f40d628d                 \"/storage-provisioner\"   50 minutes ago   Up 50 minutes             k8s_storage-provisioner_storage-provisioner_kube-system_c0616760-dc06-4863-b269-b6d222d729ca_0\r\n0d4c606ed0cc   cbb01a7bd410                 \"/coredns -conf /etc…\"   50 minutes ago   Up 50 minutes             k8s_coredns_coredns-6f6b679f8f-h49rl_kube-system_ab450272-2c88-47b8-a0ea-4d801893e276_0\r\n6c7bdd786781   ad83b2ca7b09                 \"/usr/local/bin/kube…\"   50 minutes ago   Up 50 minutes             k8s_kube-proxy_kube-proxy-t5sx7_kube-system_36148bed-87f6-4308-9c3d-4a29790cea65_0\r\ndc91a9809039   registry.k8s.io/pause:3.10   \"/pause\"                 50 minutes ago   Up 50 minutes             k8s_POD_storage-provisioner_kube-system_c0616760-dc06-4863-b269-b6d222d729ca_0\r\n37143475f67e   registry.k8s.io/pause:3.10   \"/pause\"                 50 minutes ago   Up 50 minutes             k8s_POD_coredns-6f6b679f8f-h49rl_kube-system_ab450272-2c88-47b8-a0ea-4d801893e276_0\r\n118c73c9a2c9   registry.k8s.io/pause:3.10   \"/pause\"                 50 minutes ago   Up 50 minutes             k8s_POD_kube-proxy-t5sx7_kube-system_36148bed-87f6-4308-9c3d-4a29790cea65_0\r\n09cf1515a99e   045733566833                 \"kube-controller-man…\"   51 minutes ago   Up 51 minutes             k8s_kube-controller-manager_kube-controller-manager-minikube_kube-system_40f5f661ab65f2e4bfe41ac2993c01de_2\r\nadbbc2825349   604f5db92eaa                 \"kube-apiserver --ad…\"   52 minutes ago   Up 52 minutes             k8s_kube-apiserver_kube-apiserver-minikube_kube-system_9e315b3a91fa9f6f7463439d9dac1a56_0\r\nfc17a65ca445   2e96e5913fc0                 \"etcd --advertise-cl…\"   52 minutes ago   Up 52 minutes             k8s_etcd_etcd-minikube_kube-system_a5363f4f31e043bdae3c93aca4991903_0\r\n8b118bddf2ce   1766f54c897f                 \"kube-scheduler --au…\"   52 minutes ago   Up 52 minutes             k8s_kube-scheduler_kube-scheduler-minikube_kube-system_e039200acb850c82bb901653cc38ff6e_0\r\n6838c9099afe   registry.k8s.io/pause:3.10   \"/pause\"                 53 minutes ago   Up 52 minutes             k8s_POD_kube-scheduler-minikube_kube-system_e039200acb850c82bb901653cc38ff6e_0\r\n0d0d149f8c0a   registry.k8s.io/pause:3.10   \"/pause\"                 53 minutes ago   Up 52 minutes             k8s_POD_kube-apiserver-minikube_kube-system_9e315b3a91fa9f6f7463439d9dac1a56_0\r\ndf868b83e320   registry.k8s.io/pause:3.10   \"/pause\"                 53 minutes ago   Up 52 minutes             k8s_POD_etcd-minikube_kube-system_a5363f4f31e043bdae3c93aca4991903_0\r\nf64c0a3abc02   registry.k8s.io/pause:3.10   \"/pause\"                 53 minutes ago   Up 52 minutes             k8s_POD_kube-controller-manager-minikube_kube-system_40f5f661ab65f2e4bfe41ac2993c01de_0\r\ndocker@minikube:~$\r\ndocker@minikube:~$ #CTRL+D#\r\nlogout\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e m kubectl -- get pods   #this command execute minikube container inside the kubctl tool not available minikube for first time it will install #\r\n    \u003e kubectl.exe.sha256:  64 B / 64 B [---------------------] 100.00% ? p/s 0s\r\n    \u003e kubectl.exe:  55.20 MiB / 55.20 MiB [------] 100.00% 488.35 KiB p/s 1m56s\r\nNo resources found in default namespace.\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e kubectl get pods  #Runn's in host kubctl #\r\nNo resources found in default namespace.\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e Set-Alias k kubectl\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e k config view\r\napiVersion: v1\r\nclusters:\r\n- cluster:\r\n    certificate-authority: C:\\Users\\u\\.minikube\\ca.crt\r\n    extensions:\r\n    - extension:\r\n        last-update: Thu, 26 Sep 2024 13:15:17 EDT\r\n        provider: minikube.sigs.k8s.io\r\n        version: v1.34.0\r\n      name: cluster_info\r\n    server: https://127.0.0.1:51681                                      #Only one node which is my System Ip going to work we can any number of node #\r\n  name: minikube\r\ncontexts:\r\n- context:\r\n    cluster: minikube\r\n    extensions:\r\n    - extension:\r\n        last-update: Thu, 26 Sep 2024 13:15:17 EDT\r\n        provider: minikube.sigs.k8s.io\r\n        version: v1.34.0\r\n      name: context_info\r\n    namespace: default\r\n    user: minikube\r\n  name: minikube\r\ncurrent-context: minikube\r\nkind: Config\r\npreferences: {}\r\nusers:\r\n- name: minikube\r\n  user:\r\n    client-certificate: C:\\Users\\u\\.minikube\\profiles\\minikube\\client.crt\r\n    client-key: C:\\Users\\u\\.minikube\\profiles\\minikube\\client.key\r\nPS C:\\Users\\u\u003e\r\n\r\n\u003cbr\u003e-------------------------------------------------------------------------------------------------\u003cbr\u003e\r\n\r\n\r\n\r\n##Date 28-09-2024\r\n##Follow this first step 1 \u0026 Then go 2 #How To create Pod \u0026 Deploy in webBrowser# \u003cbr\u003e\r\n\r\n#first step 1 Start driver Docker#\r\n\r\nPS C:\\Users\\u\u003e m start --driver=docker\r\n* minikube v1.34.0 on Microsoft Windows 10 Pro 10.0.19045.4957 Build 19045.4957\r\n* Using the docker driver based on existing profile\r\n* Starting \"minikube\" primary control-plane node in \"minikube\" cluster\r\n* Pulling base image v0.0.45 ...\r\n* Updating the running docker \"minikube\" container ...\r\n! Failing to connect to https://registry.k8s.io/ from inside the minikube container\r\n* To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/\r\n* Preparing Kubernetes v1.31.0 on Docker 27.2.0 ...\r\n* Verifying Kubernetes components...\r\n  - Using image gcr.io/k8s-minikube/storage-provisioner:v5\r\n* Enabled addons: storage-provisioner, default-storageclass\r\n* Done! kubectl is now configured to use \"minikube\" cluster and \"default\" namespace by default\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e                                            \r\nPS C:\\Users\\u\u003e k get nodes                         \r\nNAME       STATUS   ROLES           AGE   VERSION                        #Roles \"Control-plane\" Terminionlog changed by k8s before it was Roles \"master\"#\r\nminikube   Ready    control-plane   2d    v1.31.0\r\n\r\n\r\n#nodes in wide Format#\r\n\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e k get nodes -o wide\r\nNAME       STATUS   ROLES           AGE   VERSION   INTERNAL-IP    EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION                       CONTAINER-RUNTIME\r\nminikube   Ready    control-plane   2d    v1.31.0   192.168.49.2   \u003cnone\u003e        Ubuntu 22.04.4 LTS   5.15.153.1-microsoft-standard-WSL2   docker://27.2.0\r\n\r\n\r\n\r\n#nodes in Yaml Format#\r\n\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e k get nodes -o yaml\r\napiVersion: v1\r\nitems:\r\n- apiVersion: v1\r\n  kind: Node\r\n  metadata:\r\n    annotations:\r\n      kubeadm.alpha.kubernetes.io/cri-socket: unix:///var/run/cri-dockerd.sock\r\n      node.alpha.kubernetes.io/ttl: \"0\"\r\n      volumes.kubernetes.io/controller-managed-attach-detach: \"true\"\r\n    creationTimestamp: \"2024-09-26T17:14:17Z\"\r\n    labels:\r\n      beta.kubernetes.io/arch: amd64\r\n      beta.kubernetes.io/os: linux\r\n      kubernetes.io/arch: amd64\r\n      kubernetes.io/hostname: minikube\r\n      kubernetes.io/os: linux\r\n      minikube.k8s.io/commit: 210b148df93a80eb872ecbeb7e35281b3c582c61\r\n      minikube.k8s.io/name: minikube\r\n      minikube.k8s.io/primary: \"true\"\r\n      minikube.k8s.io/updated_at: 2024_09_26T13_15_14_0700\r\n      minikube.k8s.io/version: v1.34.0\r\n      node-role.kubernetes.io/control-plane: \"\"\r\n      node.kubernetes.io/exclude-from-external-load-balancers: \"\"\r\n    name: minikube\r\n    resourceVersion: \"6351\"\r\n    uid: dd11d68b-43be-4b9a-88d1-dc506727abea\r\n  spec:\r\n    podCIDR: 10.244.0.0/24\r\n    podCIDRs:\r\n    - 10.244.0.0/24\r\n  status:\r\n    addresses:\r\n    - address: 192.168.49.2\r\n      type: InternalIP\r\n    - address: minikube\r\n      type: Hostname\r\n    allocatable:\r\n      cpu: \"4\"\r\n      ephemeral-storage: 1055762868Ki\r\n      hugepages-1Gi: \"0\"\r\n      hugepages-2Mi: \"0\"\r\n      memory: 3978116Ki\r\n      pods: \"110\"\r\n    capacity:\r\n      cpu: \"4\"\r\n      ephemeral-storage: 1055762868Ki\r\n      hugepages-1Gi: \"0\"\r\n      hugepages-2Mi: \"0\"\r\n      memory: 3978116Ki\r\n      pods: \"110\"\r\n    conditions:\r\n    - lastHeartbeatTime: \"2024-09-28T17:33:20Z\"\r\n      lastTransitionTime: \"2024-09-26T17:14:17Z\"\r\n      message: kubelet has sufficient memory available\r\n      reason: KubeletHasSufficientMemory\r\n      status: \"False\"\r\n      type: MemoryPressure\r\n    - lastHeartbeatTime: \"2024-09-28T17:33:20Z\"\r\n      lastTransitionTime: \"2024-09-26T17:14:17Z\"\r\n      message: kubelet has no disk pressure\r\n      reason: KubeletHasNoDiskPressure\r\n      status: \"False\"\r\n      type: DiskPressure\r\n    - lastHeartbeatTime: \"2024-09-28T17:33:20Z\"\r\n      lastTransitionTime: \"2024-09-26T17:14:17Z\"\r\n      message: kubelet has sufficient PID available\r\n      reason: KubeletHasSufficientPID\r\n      status: \"False\"\r\n      type: PIDPressure\r\n    - lastHeartbeatTime: \"2024-09-28T17:33:20Z\"\r\n      lastTransitionTime: \"2024-09-26T17:14:18Z\"\r\n      message: kubelet is posting ready status\r\n      reason: KubeletReady\r\n      status: \"True\"\r\n      type: Ready\r\n    daemonEndpoints:\r\n      kubeletEndpoint:\r\n        Port: 10250\r\n    images:\r\n    - names:\r\n      - registry.k8s.io/etcd@sha256:a6dc63e6e8cfa0307d7851762fa6b629afb18f28d8aa3fab5a6e91b4af60026a\r\n      - registry.k8s.io/etcd:3.5.15-0\r\n      sizeBytes: 147945345\r\n    - names:\r\n      - registry.k8s.io/kube-apiserver@sha256:470179274deb9dc3a81df55cfc24823ce153147d4ebf2ed649a4f271f51eaddf\r\n      - registry.k8s.io/kube-apiserver:v1.31.0\r\n      sizeBytes: 94175876\r\n    - names:\r\n      - registry.k8s.io/kube-proxy@sha256:c727efb1c6f15a68060bf7f207f5c7a765355b7e3340c513e582ec819c5cd2fe\r\n      - registry.k8s.io/kube-proxy:v1.31.0\r\n      sizeBytes: 91471299\r\n    - names:\r\n      - registry.k8s.io/kube-controller-manager@sha256:f6f3c33dda209e8434b83dacf5244c03b59b0018d93325ff21296a142b68497d\r\n      - registry.k8s.io/kube-controller-manager:v1.31.0\r\n      sizeBytes: 88380387\r\n    - names:\r\n      - registry.k8s.io/kube-scheduler@sha256:96ddae9c9b2e79342e0551e2d2ec422c0c02629a74d928924aaa069706619808\r\n      - registry.k8s.io/kube-scheduler:v1.31.0\r\n      sizeBytes: 67363811\r\n    - names:\r\n      - registry.k8s.io/coredns/coredns@sha256:1eeb4c7316bacb1d4c8ead65571cd92dd21e27359f0d4917f1a5822a73b75db1\r\n      - registry.k8s.io/coredns/coredns:v1.11.1\r\n      sizeBytes: 59820619\r\n    - names:\r\n      - gcr.io/k8s-minikube/storage-provisioner@sha256:18eb69d1418e854ad5a19e399310e52808a8321e4c441c1dddad8977a0d7a944\r\n      - gcr.io/k8s-minikube/storage-provisioner:v5\r\n      sizeBytes: 31465472\r\n    - names:\r\n      - registry.k8s.io/pause@sha256:ee6521f290b2168b6e0935a181d4cff9be1ac3f505666ef0e3c98fae8199917a\r\n      - registry.k8s.io/pause:3.10\r\n      sizeBytes: 735760\r\n    nodeInfo:\r\n      architecture: amd64\r\n      bootID: 9dffcac1-96ea-4361-bdf7-cfc5a1fc1e08\r\n      containerRuntimeVersion: docker://27.2.0\r\n      kernelVersion: 5.15.153.1-microsoft-standard-WSL2\r\n      kubeProxyVersion: \"\"\r\n      kubeletVersion: v1.31.0\r\n      machineID: e5854f5e7e614bd7bda57f7ae2708452\r\n      operatingSystem: linux\r\n      osImage: Ubuntu 22.04.4 LTS\r\n      systemUUID: e5854f5e7e614bd7bda57f7ae2708452\r\nkind: List\r\nmetadata:\r\n  resourceVersion: \"\"\r\n  \r\n  \r\n  \r\n#nodes in Json Format#\r\n\r\n\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\n  \r\n  PS C:\\Users\\u\u003e k get nodes -o json\r\n{\r\n    \"apiVersion\": \"v1\",\r\n    \"items\": [\r\n        {\r\n            \"apiVersion\": \"v1\",\r\n            \"kind\": \"Node\",\r\n            \"metadata\": {\r\n                \"annotations\": {\r\n                    \"kubeadm.alpha.kubernetes.io/cri-socket\": \"unix:///var/run/cri-dockerd.sock\",\r\n                    \"node.alpha.kubernetes.io/ttl\": \"0\",\r\n                    \"volumes.kubernetes.io/controller-managed-attach-detach\": \"true\"\r\n                },\r\n                \"creationTimestamp\": \"2024-09-26T17:14:17Z\",\r\n                \"labels\": {\r\n                    \"beta.kubernetes.io/arch\": \"amd64\",\r\n                    \"beta.kubernetes.io/os\": \"linux\",\r\n                    \"kubernetes.io/arch\": \"amd64\",\r\n                    \"kubernetes.io/hostname\": \"minikube\",\r\n                    \"kubernetes.io/os\": \"linux\",\r\n                    \"minikube.k8s.io/commit\": \"210b148df93a80eb872ecbeb7e35281b3c582c61\",\r\n                    \"minikube.k8s.io/name\": \"minikube\",\r\n                    \"minikube.k8s.io/primary\": \"true\",\r\n                    \"minikube.k8s.io/updated_at\": \"2024_09_26T13_15_14_0700\",\r\n                    \"minikube.k8s.io/version\": \"v1.34.0\",\r\n                    \"node-role.kubernetes.io/control-plane\": \"\",\r\n                    \"node.kubernetes.io/exclude-from-external-load-balancers\": \"\"\r\n                },\r\n                \"name\": \"minikube\",\r\n                \"resourceVersion\": \"6351\",\r\n                \"uid\": \"dd11d68b-43be-4b9a-88d1-dc506727abea\"\r\n            },\r\n            \"spec\": {\r\n                \"podCIDR\": \"10.244.0.0/24\",\r\n                \"podCIDRs\": [\r\n                    \"10.244.0.0/24\"\r\n                ]\r\n            },\r\n            \"status\": {\r\n                \"addresses\": [\r\n                    {\r\n                        \"address\": \"192.168.49.2\",\r\n                        \"type\": \"InternalIP\"\r\n                    },\r\n                    {\r\n                        \"address\": \"minikube\",\r\n                        \"type\": \"Hostname\"\r\n                    }\r\n                ],\r\n                \"allocatable\": {\r\n                    \"cpu\": \"4\",\r\n                    \"ephemeral-storage\": \"1055762868Ki\",\r\n                    \"hugepages-1Gi\": \"0\",\r\n                    \"hugepages-2Mi\": \"0\",\r\n                    \"memory\": \"3978116Ki\",\r\n                    \"pods\": \"110\"\r\n                },\r\n                \"capacity\": {\r\n                    \"cpu\": \"4\",\r\n                    \"ephemeral-storage\": \"1055762868Ki\",\r\n                    \"hugepages-1Gi\": \"0\",\r\n                    \"hugepages-2Mi\": \"0\",\r\n                    \"memory\": \"3978116Ki\",\r\n                    \"pods\": \"110\"\r\n                },\r\n                \"conditions\": [\r\n                    {\r\n                        \"lastHeartbeatTime\": \"2024-09-28T17:33:20Z\",\r\n                        \"lastTransitionTime\": \"2024-09-26T17:14:17Z\",\r\n                        \"message\": \"kubelet has sufficient memory available\",\r\n                        \"reason\": \"KubeletHasSufficientMemory\",\r\n                        \"status\": \"False\",\r\n                        \"type\": \"MemoryPressure\"\r\n                    },\r\n                    {\r\n                        \"lastHeartbeatTime\": \"2024-09-28T17:33:20Z\",\r\n                        \"lastTransitionTime\": \"2024-09-26T17:14:17Z\",\r\n                        \"message\": \"kubelet has no disk pressure\",\r\n                        \"reason\": \"KubeletHasNoDiskPressure\",\r\n                        \"status\": \"False\",\r\n                        \"type\": \"DiskPressure\"\r\n                    },\r\n                    {\r\n                        \"lastHeartbeatTime\": \"2024-09-28T17:33:20Z\",\r\n                        \"lastTransitionTime\": \"2024-09-26T17:14:17Z\",\r\n                        \"message\": \"kubelet has sufficient PID available\",\r\n                        \"reason\": \"KubeletHasSufficientPID\",\r\n                        \"status\": \"False\",\r\n                        \"type\": \"PIDPressure\"\r\n                    },\r\n                    {\r\n                        \"lastHeartbeatTime\": \"2024-09-28T17:33:20Z\",\r\n                        \"lastTransitionTime\": \"2024-09-26T17:14:18Z\",\r\n                        \"message\": \"kubelet is posting ready status\",\r\n                        \"reason\": \"KubeletReady\",\r\n                        \"status\": \"True\",\r\n                        \"type\": \"Ready\"\r\n                    }\r\n                ],\r\n                \"daemonEndpoints\": {\r\n                    \"kubeletEndpoint\": {\r\n                        \"Port\": 10250\r\n                    }\r\n                },\r\n                \"images\": [\r\n                    {\r\n                        \"names\": [\r\n                            \"registry.k8s.io/etcd@sha256:a6dc63e6e8cfa0307d7851762fa6b629afb18f28d8aa3fab5a6e91b4af60026a\",\r\n                            \"registry.k8s.io/etcd:3.5.15-0\"\r\n                        ],\r\n                        \"sizeBytes\": 147945345\r\n                    },\r\n                    {\r\n                        \"names\": [\r\n                            \"registry.k8s.io/kube-apiserver@sha256:470179274deb9dc3a81df55cfc24823ce153147d4ebf2ed649a4f271f51eaddf\",\r\n                            \"registry.k8s.io/kube-apiserver:v1.31.0\"\r\n                        ],\r\n                        \"sizeBytes\": 94175876\r\n                    },\r\n                    {\r\n                        \"names\": [\r\n                            \"registry.k8s.io/kube-proxy@sha256:c727efb1c6f15a68060bf7f207f5c7a765355b7e3340c513e582ec819c5cd2fe\",\r\n                            \"registry.k8s.io/kube-proxy:v1.31.0\"\r\n                        ],\r\n                        \"sizeBytes\": 91471299\r\n                    },\r\n                    {\r\n                        \"names\": [\r\n                            \"registry.k8s.io/kube-controller-manager@sha256:f6f3c33dda209e8434b83dacf5244c03b59b0018d93325ff21296a142b68497d\",\r\n                            \"registry.k8s.io/kube-controller-manager:v1.31.0\"\r\n                        ],\r\n                        \"sizeBytes\": 88380387\r\n                    },\r\n                    {\r\n                        \"names\": [\r\n                            \"registry.k8s.io/kube-scheduler@sha256:96ddae9c9b2e79342e0551e2d2ec422c0c02629a74d928924aaa069706619808\",\r\n                            \"registry.k8s.io/kube-scheduler:v1.31.0\"\r\n                        ],\r\n                        \"sizeBytes\": 67363811\r\n                    },\r\n                    {\r\n                        \"names\": [\r\n                            \"registry.k8s.io/coredns/coredns@sha256:1eeb4c7316bacb1d4c8ead65571cd92dd21e27359f0d4917f1a5822a73b75db1\",\r\n                            \"registry.k8s.io/coredns/coredns:v1.11.1\"\r\n                        ],\r\n                        \"sizeBytes\": 59820619\r\n                    },\r\n                    {\r\n                        \"names\": [\r\n                            \"gcr.io/k8s-minikube/storage-provisioner@sha256:18eb69d1418e854ad5a19e399310e52808a8321e4c441c1dddad8977a0d7a944\",\r\n                            \"gcr.io/k8s-minikube/storage-provisioner:v5\"\r\n                        ],\r\n                        \"sizeBytes\": 31465472\r\n                    },\r\n                    {\r\n                        \"names\": [\r\n                            \"registry.k8s.io/pause@sha256:ee6521f290b2168b6e0935a181d4cff9be1ac3f505666ef0e3c98fae8199917a\",\r\n                            \"registry.k8s.io/pause:3.10\"\r\n                        ],\r\n                        \"sizeBytes\": 735760\r\n                    }\r\n                ],\r\n                \"nodeInfo\": {\r\n                    \"architecture\": \"amd64\",\r\n                    \"bootID\": \"9dffcac1-96ea-4361-bdf7-cfc5a1fc1e08\",\r\n                    \"containerRuntimeVersion\": \"docker://27.2.0\",\r\n                    \"kernelVersion\": \"5.15.153.1-microsoft-standard-WSL2\",\r\n                    \"kubeProxyVersion\": \"\",\r\n                    \"kubeletVersion\": \"v1.31.0\",\r\n                    \"machineID\": \"e5854f5e7e614bd7bda57f7ae2708452\",\r\n                    \"operatingSystem\": \"linux\",\r\n                    \"osImage\": \"Ubuntu 22.04.4 LTS\",\r\n                    \"systemUUID\": \"e5854f5e7e614bd7bda57f7ae2708452\"\r\n                }\r\n            }\r\n        }\r\n    ],\r\n    \"kind\": \"List\",\r\n    \"metadata\": {\r\n        \"resourceVersion\": \"\"\r\n    }\r\n}\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e k get pods\r\nNo resources found in default namespace.\r\nPS C:\\Users\\u\u003e k get deploy\r\nNo resources found in default namespace.\r\nPS C:\\Users\\u\u003e k get svc\r\nNAME         TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE\r\nkubernetes   ClusterIP   10.96.0.1    \u003cnone\u003e        443/TCP   2d\r\nPS C:\\Users\\u\u003e\r\n\r\n\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e m ssh\r\ndocker@minikube:~$ docker ps\r\nCONTAINER ID   IMAGE                        COMMAND                  CREATED          STATUS          PORTS     NAMES\r\n1d92f31aeba0   6e38f40d628d                 \"/storage-provisioner\"   14 minutes ago   Up 14 minutes             k8s_storage-provisioner_storage-provisioner_kube-system_c0616760-dc06-4863-b269-b6d222d729ca_2\r\nf6b8bb57e8f5   cbb01a7bd410                 \"/coredns -conf /etc…\"   15 minutes ago   Up 15 minutes             k8s_coredns_coredns-6f6b679f8f-h49rl_kube-system_ab450272-2c88-47b8-a0ea-4d801893e276_1\r\n3268ea340764   ad83b2ca7b09                 \"/usr/local/bin/kube…\"   15 minutes ago   Up 15 minutes             k8s_kube-proxy_kube-proxy-t5sx7_kube-system_36148bed-87f6-4308-9c3d-4a29790cea65_1\r\ndocker@minikube:~$\r\ndocker@minikube:~$\r\ndocker@minikube:~$\r\ndocker@minikube:~$\r\ndocker@minikube:~$exit\r\n\r\n\r\n\r\n#Default Containers#\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e k get pod --namespace kube-system\r\nNAME                               READY   STATUS    RESTARTS      AGE                     Tip\r\ncoredns-6f6b679f8f-h49rl           1/1     Running   1 (49m ago)   2d           #K8s internall created object has a prefix Deployment name\"coredns\"  and suffix\"6f6b679f8f\" id #\r\netcd-minikube                      1/1     Running   1 (49m ago)   2d                      #Dircet Pod name Given #\r\nkube-apiserver-minikube            1/1     Running   1 (49m ago)   2d\r\nkube-controller-manager-minikube   1/1     Running   3 (49m ago)   2d\r\nkube-proxy-t5sx7                   1/1     Running   1 (46h ago)   2d\r\nkube-scheduler-minikube            1/1     Running   1 (49m ago)   2d\r\nstorage-provisioner                1/1     Running   2 (19m ago)   2d\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e \r\n\r\n#k8s Created Deployment \"Coredns\" running in one replica coredns-6f6b679f8f-h49rl #\r\nPS C:\\Users\\u\u003e k get deploy --namespace kube-system\r\nNAME      READY   UP-TO-DATE   AVAILABLE   AGE\r\ncoredns   1/1     1            1           2d\r\n\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\n\r\n#k8s above deployment created one replica Set #\r\nPS C:\\Users\\u\u003e k get replicaset --namespace kube-system\r\nNAME                 DESIRED   CURRENT   READY   AGE\r\ncoredns-6f6b679f8f   1         1         1       2d\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\n\r\n\r\n\r\n#Object information use describe nodes#\r\n\r\nPS C:\\Users\\u\u003e k describe nodes\r\nName:               minikube\r\nRoles:              control-plane\r\nLabels:             beta.kubernetes.io/arch=amd64\r\n                    beta.kubernetes.io/os=linux\r\n                    kubernetes.io/arch=amd64\r\n                    kubernetes.io/hostname=minikube\r\n                    kubernetes.io/os=linux\r\n                    minikube.k8s.io/commit=210b148df93a80eb872ecbeb7e35281b3c582c61\r\n                    minikube.k8s.io/name=minikube\r\n                    minikube.k8s.io/primary=true\r\n                    minikube.k8s.io/updated_at=2024_09_26T13_15_14_0700\r\n                    minikube.k8s.io/version=v1.34.0\r\n                    node-role.kubernetes.io/control-plane=\r\n                    node.kubernetes.io/exclude-from-external-load-balancers=\r\nAnnotations:        kubeadm.alpha.kubernetes.io/cri-socket: unix:///var/run/cri-dockerd.sock\r\n                    node.alpha.kubernetes.io/ttl: 0\r\n                    volumes.kubernetes.io/controller-managed-attach-detach: true\r\nCreationTimestamp:  Thu, 26 Sep 2024 13:14:17 -0400\r\nTaints:             \u003cnone\u003e\r\nUnschedulable:      false\r\nLease:\r\n  HolderIdentity:  minikube\r\n  AcquireTime:     \u003cunset\u003e\r\n  RenewTime:       Sat, 28 Sep 2024 13:57:46 -0400\r\nConditions:\r\n  Type             Status  LastHeartbeatTime                 LastTransitionTime                Reason                       Message\r\n  ----             ------  -----------------                 ------------------                ------                       -------\r\n  MemoryPressure   False   Sat, 28 Sep 2024 13:53:44 -0400   Thu, 26 Sep 2024 13:14:17 -0400   KubeletHasSufficientMemory   kubelet has sufficient memory available\r\n  DiskPressure     False   Sat, 28 Sep 2024 13:53:44 -0400   Thu, 26 Sep 2024 13:14:17 -0400   KubeletHasNoDiskPressure     kubelet has no disk pressure\r\n  PIDPressure      False   Sat, 28 Sep 2024 13:53:44 -0400   Thu, 26 Sep 2024 13:14:17 -0400   KubeletHasSufficientPID      kubelet has sufficient PID available\r\n  Ready            True    Sat, 28 Sep 2024 13:53:44 -0400   Thu, 26 Sep 2024 13:14:18 -0400   KubeletReady                 kubelet is posting ready status\r\nAddresses:\r\n  InternalIP:  192.168.49.2\r\n  Hostname:    minikube\r\nCapacity:\r\n  cpu:                4\r\n  ephemeral-storage:  1055762868Ki\r\n  hugepages-1Gi:      0\r\n  hugepages-2Mi:      0\r\n  memory:             3978116Ki\r\n  pods:               110\r\nAllocatable:\r\n  cpu:                4\r\n  ephemeral-storage:  1055762868Ki\r\n  hugepages-1Gi:      0\r\n  hugepages-2Mi:      0\r\n  memory:             3978116Ki\r\n  pods:               110\r\nSystem Info:\r\n  Machine ID:                 e5854f5e7e614bd7bda57f7ae2708452\r\n  System UUID:                e5854f5e7e614bd7bda57f7ae2708452\r\n  Boot ID:                    9dffcac1-96ea-4361-bdf7-cfc5a1fc1e08\r\n  Kernel Version:             5.15.153.1-microsoft-standard-WSL2\r\n  OS Image:                   Ubuntu 22.04.4 LTS\r\n  Operating System:           linux\r\n  Architecture:               amd64\r\n  Container Runtime Version:  docker://27.2.0\r\n  Kubelet Version:            v1.31.0\r\n  Kube-Proxy Version:\r\nPodCIDR:                      10.244.0.0/24\r\nPodCIDRs:                     10.244.0.0/24\r\nNon-terminated Pods:          (7 in total)\r\n  Namespace                   Name                                CPU Requests  CPU Limits  Memory Requests  Memory Limits  Age\r\n  ---------                   ----                                ------------  ----------  ---------------  -------------  ---\r\n  kube-system                 coredns-6f6b679f8f-h49rl            100m (2%)     0 (0%)      70Mi (1%)        170Mi (4%)     2d\r\n  kube-system                 etcd-minikube                       100m (2%)     0 (0%)      100Mi (2%)       0 (0%)         2d\r\n  kube-system                 kube-apiserver-minikube             250m (6%)     0 (0%)      0 (0%)           0 (0%)         2d\r\n  kube-system                 kube-controller-manager-minikube    200m (5%)     0 (0%)      0 (0%)           0 (0%)         2d\r\n  kube-system                 kube-proxy-t5sx7                    0 (0%)        0 (0%)      0 (0%)           0 (0%)         2d\r\n  kube-system                 kube-scheduler-minikube             100m (2%)     0 (0%)      0 (0%)           0 (0%)         2d\r\n  kube-system                 storage-provisioner                 0 (0%)        0 (0%)      0 (0%)           0 (0%)         2d\r\nAllocated resources:\r\n  (Total limits may be over 100 percent, i.e., overcommitted.)\r\n  Resource           Requests    Limits\r\n  --------           --------    ------\r\n  cpu                750m (18%)  0 (0%)\r\n  memory             170Mi (4%)  170Mi (4%)\r\n  ephemeral-storage  0 (0%)      0 (0%)\r\n  hugepages-1Gi      0 (0%)      0 (0%)\r\n  hugepages-2Mi      0 (0%)      0 (0%)\r\nEvents:\r\n  Type     Reason                             Age                From             Message\r\n  ----     ------                             ----               ----             -------\r\n  Normal   Starting                           33m                kube-proxy\r\n  Warning  PossibleMemoryBackedVolumesOnDisk  35m                kubelet          The tmpfs noswap option is not supported. Memory-backed volumes (e.g. secrets, emptyDirs, etc.) might be swapped to disk and should no longer be considered secure.\r\n  Normal   Starting                           35m                kubelet          Starting kubelet.\r\n  Warning  CgroupV1                           35m                kubelet          Cgroup v1 support is in maintenance mode, please migrate to Cgroup v2.\r\n  Normal   NodeHasSufficientMemory            35m (x7 over 35m)  kubelet          Node minikube status is now: NodeHasSufficientMemory\r\n  Normal   NodeHasNoDiskPressure              35m (x7 over 35m)  kubelet          Node minikube status is now: NodeHasNoDiskPressure\r\n  Normal   NodeHasSufficientPID               35m (x7 over 35m)  kubelet          Node minikube status is now: NodeHasSufficientPID\r\n  Normal   NodeAllocatableEnforced            35m                kubelet          Updated Node Allocatable limit across pods\r\n  Normal   RegisteredNode                     34m                node-controller  Node minikube event: Registered Node minikube in Controller\r\nPS C:\\Users\\u\u003e\r\n\r\n\r\n\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\n\r\n\r\n--------------------------------#How To create Pod#---------------------------------------------------------------------\r\n\r\n\r\n\r\n\r\nPS C:\\Users\\u\u003e k run npod --image=nginx:latest\r\npod/npod created\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\n\r\n#Deleted nPod deploy deleted#\r\nPS C:\\Users\\u\u003e kubectl delete pod npod\r\npod \"npod\" deleted\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\n\r\n#k8s how to create pod name is www image name is nginx port used is 80#\r\n\r\nPS C:\\Users\\u\u003e k run www --image=nginx --port=80\r\npod/www created\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\n\r\n\r\n#Pod Created in the name of www#\r\n\r\nPS C:\\Users\\u\u003e k get pods\r\nNAME   READY   STATUS    RESTARTS   AGE\r\nwww    1/1     Running   0          77s\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\n\r\n#no deployments seen pervious we deleted npod deployement refer above#\r\nPS C:\\Users\\u\u003e k get deploy\r\nNo resources found in default namespace.\r\nPS C:\\Users\\u\u003e\r\n\r\n\r\n#Using LoadBalance How to expose www pod from cluster to out side meaning external Broswe#\r\n*ext - external\r\n\r\nPS C:\\Users\\u\u003e k expose pod www --port=80 --name=www-ext --type=LoadBalancer\r\nservice/www-ext exposed\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\n\r\n#service Command, Minikube working as container, as a cluster external-Ip doesnt have ip address to access#\r\n\r\nPS C:\\Users\\u\u003e k get svc\r\nNAME         TYPE           CLUSTER-IP       EXTERNAL-IP   PORT(S)        AGE\r\nkubernetes   ClusterIP      10.96.0.1        \u003cnone\u003e        443/TCP        2d1h\r\nwww-ext      LoadBalancer   10.107.116.195   \u003cpending\u003e     80:30922/TCP   116s\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\n\r\n\r\n#External ip willexpose with this command minikube conatiner which has www pod can extrally viewed in browser #\r\n\r\n\r\nPS C:\\Users\\u\u003e m service www-ext\r\n|-----------|---------|-------------|---------------------------|\r\n| NAMESPACE |  NAME   | TARGET PORT |            URL            |\r\n|-----------|---------|-------------|---------------------------|\r\n| default   | www-ext |          80 | http://192.168.49.2:30922 |\r\n|-----------|---------|-------------|---------------------------|\r\n* Starting tunnel for service www-ext.\r\n|-----------|---------|-------------|------------------------|\r\n| NAMESPACE |  NAME   | TARGET PORT |          URL           |\r\n|-----------|---------|-------------|------------------------|\r\n| default   | www-ext |             | http://127.0.0.1:62306 |\r\n|-----------|---------|-------------|------------------------|\r\n* Opening service default/www-ext in default browser...\r\n! Because you are using a Docker driver on windows, the terminal needs to be open to run it.\r\n\r\n#CTRL + C#\r\n* Stopped tunnel for service www-ext. \r\n\r\n\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e m service www-ext --url\r\n\r\nhttp://127.0.0.1:62420 #Open this ip in browser#\r\n\r\n! Because you are using a Docker driver on windows, the terminal needs to be open to run it.\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\n\r\n\r\n--------------How Create  Deployment same image nginx----------------------------\r\n* wd = web deployment\r\n\r\n\r\nPS C:\\Users\\u\u003e k create deploy wd --image=nginx\r\ndeployment.apps/wd created\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e k get deploy\r\nNAME   READY   UP-TO-DATE   AVAILABLE   AGE\r\nwd     0/1     1            0           12s\r\n\r\n#Sucessfully Created#\r\n\r\nPS C:\\Users\\u\u003e k get deploy\r\nNAME   READY   UP-TO-DATE   AVAILABLE   AGE\r\nwd     1/1     1            1           68s\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\n\r\n#Two Pod running www \u0026 wd in minikube#\r\n\r\nPS C:\\Users\\u\u003e k get pods\r\nNAME                  READY   STATUS    RESTARTS   AGE\r\nwd-6595c9877d-4qgzr   1/1     Running   0          2m37s\r\nwww                   1/1     Running   0          30m\r\n\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\nPS C:\\Users\\u\u003e\r\n\r\n#decelarativ method such as yaml file file path: C:\\Users\\u\\deploy.yaml#\r\n\r\nPS C:\\Users\\u\u003e k apply -f deloy.yaml\r\nWarning: resource deployments/wd is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created de","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarghese25%2Fspringtaiga","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvarghese25%2Fspringtaiga","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarghese25%2Fspringtaiga/lists"}