Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

How to deploy a Kubernetes app

Sumit Rawal answered on May 14, 2023 Popularity 10/10 Helpfulness 2/10

Contents


More Related Answers

  • kubernetes clusterip service template
  • kubernetes get deployments
  • change cluster kubectl
  • install kind kubernetes
  • kubectl patch kubernetes
  • kubectl run create service
  • kubectl expose
  • install kubernetess on mac
  • Creating a kubernetes service cluster
  • change kuber cluster
  • install kubernetes cluster with kubeadm
  • how to chnage kubectl to k
  • deploy Kubernetes dashboard into the cluster
  • kube cluster
  • kubernetes command kubectl
  • kubectl run create service
  • kube cluster
  • kubectl create deploy
  • kubernetes setup
  • kubernetes clusterip
  • Use Kubespray to deploy a Production Ready Kubernetes Cluster
  • minikube kubectl deployment use local image
  • Kubernetes configuration
  • spring cloud kubernetes
  • spring boot with kubernetes
  • Kubernetes Deployment Pipeline:
  • Exploring your Kubernetes app
  • How to expose your Kubernetes app

  • How to deploy a Kubernetes app

    1

    Now we’ll create our first deployment. For this, we’ll be pulling a test image from the Google Container Registry (GCR) called hello-node. Creating this deployment will come with one pod built-in.

    To do this, paste the following line:

    kubectl create deployment hello-node --image=gcr.io/hello-minikube-zero-install/hello-node

    Now, to check that this deployment is running correctly, enter:

    kubectl get deployments

    NAME READY UP-TO-DATE AVAILABLE AGE

    hello-node 1/1 1 1 170m

    This will print a list of the deployments currently running on this cluster. As we’ve only created the one, you’ll only see hello-node listed. Congratulations, you’ve deployed your app!

    Popularity 10/10 Helpfulness 2/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 14 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    1
    Popularity 9/10 Helpfulness 5/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Sep 03 2024
    Sore Shark
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.