Can i view “deployments” in the google cloud kubernetes console?












1















I see "workloads" but are workloads the same as "deployments"?



I dont see any kubectl commands that can list ALL deployments just for describing a specific one.










share|improve this question























  • Can you make it more clear this "I dont see any kubectl commands that can list ALL deployments just for describing a specific one." However, workload is generic name. Deployment, StatefulSet, Pods, Jobs etc.. all are workload. kubernetes.io/docs/concepts/workloads/controllers/deployment

    – Emruz Hossain
    Nov 23 '18 at 16:01











  • Oh well I suppose that is want I was missing. Daemonset is also a deployment type?

    – red888
    Nov 23 '18 at 16:11











  • pods are the basic building block of Kubernetes. pods are what actually run your container into a node. Deployment, DaemonSet, StatefulSet etc. are controller for pod. They control pod different way. For example, when you deploy a DaemonSet, it runs a replica of its pod in all nodes of the cluster. On the other hand, a Deployment's pods are scheduled whenever a nodes meet its resource requirements. It can be same node or different node. You can use kubectlcommand to get, list, path any of them. Check this kubectl cheat sheet: kubernetes.io/docs/reference/kubectl/cheatsheet

    – Emruz Hossain
    Nov 23 '18 at 16:20


















1















I see "workloads" but are workloads the same as "deployments"?



I dont see any kubectl commands that can list ALL deployments just for describing a specific one.










share|improve this question























  • Can you make it more clear this "I dont see any kubectl commands that can list ALL deployments just for describing a specific one." However, workload is generic name. Deployment, StatefulSet, Pods, Jobs etc.. all are workload. kubernetes.io/docs/concepts/workloads/controllers/deployment

    – Emruz Hossain
    Nov 23 '18 at 16:01











  • Oh well I suppose that is want I was missing. Daemonset is also a deployment type?

    – red888
    Nov 23 '18 at 16:11











  • pods are the basic building block of Kubernetes. pods are what actually run your container into a node. Deployment, DaemonSet, StatefulSet etc. are controller for pod. They control pod different way. For example, when you deploy a DaemonSet, it runs a replica of its pod in all nodes of the cluster. On the other hand, a Deployment's pods are scheduled whenever a nodes meet its resource requirements. It can be same node or different node. You can use kubectlcommand to get, list, path any of them. Check this kubectl cheat sheet: kubernetes.io/docs/reference/kubectl/cheatsheet

    – Emruz Hossain
    Nov 23 '18 at 16:20
















1












1








1








I see "workloads" but are workloads the same as "deployments"?



I dont see any kubectl commands that can list ALL deployments just for describing a specific one.










share|improve this question














I see "workloads" but are workloads the same as "deployments"?



I dont see any kubectl commands that can list ALL deployments just for describing a specific one.







kubernetes google-cloud-platform kubectl gke






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 23 '18 at 15:56









red888red888

4,72084498




4,72084498













  • Can you make it more clear this "I dont see any kubectl commands that can list ALL deployments just for describing a specific one." However, workload is generic name. Deployment, StatefulSet, Pods, Jobs etc.. all are workload. kubernetes.io/docs/concepts/workloads/controllers/deployment

    – Emruz Hossain
    Nov 23 '18 at 16:01











  • Oh well I suppose that is want I was missing. Daemonset is also a deployment type?

    – red888
    Nov 23 '18 at 16:11











  • pods are the basic building block of Kubernetes. pods are what actually run your container into a node. Deployment, DaemonSet, StatefulSet etc. are controller for pod. They control pod different way. For example, when you deploy a DaemonSet, it runs a replica of its pod in all nodes of the cluster. On the other hand, a Deployment's pods are scheduled whenever a nodes meet its resource requirements. It can be same node or different node. You can use kubectlcommand to get, list, path any of them. Check this kubectl cheat sheet: kubernetes.io/docs/reference/kubectl/cheatsheet

    – Emruz Hossain
    Nov 23 '18 at 16:20





















  • Can you make it more clear this "I dont see any kubectl commands that can list ALL deployments just for describing a specific one." However, workload is generic name. Deployment, StatefulSet, Pods, Jobs etc.. all are workload. kubernetes.io/docs/concepts/workloads/controllers/deployment

    – Emruz Hossain
    Nov 23 '18 at 16:01











  • Oh well I suppose that is want I was missing. Daemonset is also a deployment type?

    – red888
    Nov 23 '18 at 16:11











  • pods are the basic building block of Kubernetes. pods are what actually run your container into a node. Deployment, DaemonSet, StatefulSet etc. are controller for pod. They control pod different way. For example, when you deploy a DaemonSet, it runs a replica of its pod in all nodes of the cluster. On the other hand, a Deployment's pods are scheduled whenever a nodes meet its resource requirements. It can be same node or different node. You can use kubectlcommand to get, list, path any of them. Check this kubectl cheat sheet: kubernetes.io/docs/reference/kubectl/cheatsheet

    – Emruz Hossain
    Nov 23 '18 at 16:20



















Can you make it more clear this "I dont see any kubectl commands that can list ALL deployments just for describing a specific one." However, workload is generic name. Deployment, StatefulSet, Pods, Jobs etc.. all are workload. kubernetes.io/docs/concepts/workloads/controllers/deployment

– Emruz Hossain
Nov 23 '18 at 16:01





Can you make it more clear this "I dont see any kubectl commands that can list ALL deployments just for describing a specific one." However, workload is generic name. Deployment, StatefulSet, Pods, Jobs etc.. all are workload. kubernetes.io/docs/concepts/workloads/controllers/deployment

– Emruz Hossain
Nov 23 '18 at 16:01













Oh well I suppose that is want I was missing. Daemonset is also a deployment type?

– red888
Nov 23 '18 at 16:11





Oh well I suppose that is want I was missing. Daemonset is also a deployment type?

– red888
Nov 23 '18 at 16:11













pods are the basic building block of Kubernetes. pods are what actually run your container into a node. Deployment, DaemonSet, StatefulSet etc. are controller for pod. They control pod different way. For example, when you deploy a DaemonSet, it runs a replica of its pod in all nodes of the cluster. On the other hand, a Deployment's pods are scheduled whenever a nodes meet its resource requirements. It can be same node or different node. You can use kubectlcommand to get, list, path any of them. Check this kubectl cheat sheet: kubernetes.io/docs/reference/kubectl/cheatsheet

– Emruz Hossain
Nov 23 '18 at 16:20







pods are the basic building block of Kubernetes. pods are what actually run your container into a node. Deployment, DaemonSet, StatefulSet etc. are controller for pod. They control pod different way. For example, when you deploy a DaemonSet, it runs a replica of its pod in all nodes of the cluster. On the other hand, a Deployment's pods are scheduled whenever a nodes meet its resource requirements. It can be same node or different node. You can use kubectlcommand to get, list, path any of them. Check this kubectl cheat sheet: kubernetes.io/docs/reference/kubectl/cheatsheet

– Emruz Hossain
Nov 23 '18 at 16:20














2 Answers
2






active

oldest

votes


















3














Yes, you should use the command:



kubectl get deployments


By default, you will only see that ones that are in the namespace default. If your deployments are in other namespaces you have to specify it:



kubectl get deployments -n your_namespace


If you want to see all the deployments from all namespaces, use the following command:



kubectl get deployments --all-namespaces


From your question, if what you want is to see all you have (not just deployments), use the following command:



kubectl get all --all-namespaces





share|improve this answer
























  • In gcp is there a kubectl to get all deployments for a gcp project?

    – red888
    Nov 23 '18 at 17:28



















0














You can use following command to list deployments in kubernetes



kubectl get deployments





share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53449685%2fcan-i-view-deployments-in-the-google-cloud-kubernetes-console%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    Yes, you should use the command:



    kubectl get deployments


    By default, you will only see that ones that are in the namespace default. If your deployments are in other namespaces you have to specify it:



    kubectl get deployments -n your_namespace


    If you want to see all the deployments from all namespaces, use the following command:



    kubectl get deployments --all-namespaces


    From your question, if what you want is to see all you have (not just deployments), use the following command:



    kubectl get all --all-namespaces





    share|improve this answer
























    • In gcp is there a kubectl to get all deployments for a gcp project?

      – red888
      Nov 23 '18 at 17:28
















    3














    Yes, you should use the command:



    kubectl get deployments


    By default, you will only see that ones that are in the namespace default. If your deployments are in other namespaces you have to specify it:



    kubectl get deployments -n your_namespace


    If you want to see all the deployments from all namespaces, use the following command:



    kubectl get deployments --all-namespaces


    From your question, if what you want is to see all you have (not just deployments), use the following command:



    kubectl get all --all-namespaces





    share|improve this answer
























    • In gcp is there a kubectl to get all deployments for a gcp project?

      – red888
      Nov 23 '18 at 17:28














    3












    3








    3







    Yes, you should use the command:



    kubectl get deployments


    By default, you will only see that ones that are in the namespace default. If your deployments are in other namespaces you have to specify it:



    kubectl get deployments -n your_namespace


    If you want to see all the deployments from all namespaces, use the following command:



    kubectl get deployments --all-namespaces


    From your question, if what you want is to see all you have (not just deployments), use the following command:



    kubectl get all --all-namespaces





    share|improve this answer













    Yes, you should use the command:



    kubectl get deployments


    By default, you will only see that ones that are in the namespace default. If your deployments are in other namespaces you have to specify it:



    kubectl get deployments -n your_namespace


    If you want to see all the deployments from all namespaces, use the following command:



    kubectl get deployments --all-namespaces


    From your question, if what you want is to see all you have (not just deployments), use the following command:



    kubectl get all --all-namespaces






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 23 '18 at 16:38









    Pau Campaña SolerPau Campaña Soler

    1637




    1637













    • In gcp is there a kubectl to get all deployments for a gcp project?

      – red888
      Nov 23 '18 at 17:28



















    • In gcp is there a kubectl to get all deployments for a gcp project?

      – red888
      Nov 23 '18 at 17:28

















    In gcp is there a kubectl to get all deployments for a gcp project?

    – red888
    Nov 23 '18 at 17:28





    In gcp is there a kubectl to get all deployments for a gcp project?

    – red888
    Nov 23 '18 at 17:28













    0














    You can use following command to list deployments in kubernetes



    kubectl get deployments





    share|improve this answer




























      0














      You can use following command to list deployments in kubernetes



      kubectl get deployments





      share|improve this answer


























        0












        0








        0







        You can use following command to list deployments in kubernetes



        kubectl get deployments





        share|improve this answer













        You can use following command to list deployments in kubernetes



        kubectl get deployments






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 23 '18 at 16:12









        Prafull LadhaPrafull Ladha

        3,290320




        3,290320






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53449685%2fcan-i-view-deployments-in-the-google-cloud-kubernetes-console%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Costa Masnaga

            Fotorealismo

            Sidney Franklin