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 9/10 Helpfulness 2/10

Contents


More Related Answers

  • kubernetes clusterip service template
  • kubernetes get deployments
  • install kind kubernetes
  • change cluster kubectl
  • kubectl config kubernetes dashboard
  • kubectl expose
  • install kubernetess on mac
  • kubectl run create service
  • kubectl patch kubernetes
  • install kubernetes linux
  • install kubernetes cluster with kubeadm
  • Creating a kubernetes service cluster
  • how to chnage kubectl to k
  • deploy Kubernetes dashboard into the cluster
  • kube cluster
  • kubectl run create service
  • kube cluster
  • 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 update a Kubernetes app
  • Why (and when) you should use Kubernetes

  • 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 9/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


    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.