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

Deploy the Service on LKE

Sumit Rawal answered on June 17, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • Deployer custom Options
  • Deployer custom Options
  • Service deployment platforms
  • Deployment options
  • Deploy a single server

  • Deploy the Service on LKE

    0

    The following commands need to be executed from the folder containing the YAML files:

    $ kubectl apply -f deploy.yml -f svc-cloud.yml

    deployment.apps/qsk-deploy created

    service/cloud-lb created

    Run the kubectl get deployments and kubectl get svc commands to ensure that the application and Service are running.

    Get Deployments

    $ kubectl get deployments

    NAME READY UP-TO-DATE AVAILABLE AGE

    qsk-deploy 5/5 5 5 4m

    Get Services

    $ kubectl get svc

    NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE

    svc-cloud ClusterIP 10.128.97.167 8080:31111/TCP 4m

    It may take a minute for the Pods to enter the running phase, but as soon as they do, you can proceed to the next lesson. 

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jun 17 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.