Can i view “deployments” in the google cloud kubernetes console?
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
add a comment |
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
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 usekubectl
command 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
add a comment |
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
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
kubernetes google-cloud-platform kubectl gke
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 usekubectl
command 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
add a comment |
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 usekubectl
command 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 kubectl
command 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 kubectl
command 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
add a comment |
2 Answers
2
active
oldest
votes
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
In gcp is there a kubectl to get all deployments for a gcp project?
– red888
Nov 23 '18 at 17:28
add a comment |
You can use following command to list deployments in kubernetes
kubectl get deployments
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
In gcp is there a kubectl to get all deployments for a gcp project?
– red888
Nov 23 '18 at 17:28
add a comment |
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
In gcp is there a kubectl to get all deployments for a gcp project?
– red888
Nov 23 '18 at 17:28
add a comment |
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
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
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
add a comment |
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
add a comment |
You can use following command to list deployments in kubernetes
kubectl get deployments
add a comment |
You can use following command to list deployments in kubernetes
kubectl get deployments
add a comment |
You can use following command to list deployments in kubernetes
kubectl get deployments
You can use following command to list deployments in kubernetes
kubectl get deployments
answered Nov 23 '18 at 16:12
Prafull LadhaPrafull Ladha
3,290320
3,290320
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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 usekubectl
command 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