How to deploy workload to GCP Kubernetes Programatically?
up vote
-1
down vote
favorite
I have achieved vast amount of automation in terms of creating projects, creating kubernetes engine and other IaaS elements, by using GCP APIs from Python GCP Client.
But I am not very positive on deploying docker container workloads to the provisioned cluster. The GCP documents point to kubectl apply -f config.yaml, but this entails using command line tools by first switching to project etc...
This is exactly what I am trying to get away from. Is there a google API that lets us accomplish this?
And no, I do not want third party deployment automation tools for various reasons.
kubernetes google-kubernetes-engine
add a comment |
up vote
-1
down vote
favorite
I have achieved vast amount of automation in terms of creating projects, creating kubernetes engine and other IaaS elements, by using GCP APIs from Python GCP Client.
But I am not very positive on deploying docker container workloads to the provisioned cluster. The GCP documents point to kubectl apply -f config.yaml, but this entails using command line tools by first switching to project etc...
This is exactly what I am trying to get away from. Is there a google API that lets us accomplish this?
And no, I do not want third party deployment automation tools for various reasons.
kubernetes google-kubernetes-engine
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I have achieved vast amount of automation in terms of creating projects, creating kubernetes engine and other IaaS elements, by using GCP APIs from Python GCP Client.
But I am not very positive on deploying docker container workloads to the provisioned cluster. The GCP documents point to kubectl apply -f config.yaml, but this entails using command line tools by first switching to project etc...
This is exactly what I am trying to get away from. Is there a google API that lets us accomplish this?
And no, I do not want third party deployment automation tools for various reasons.
kubernetes google-kubernetes-engine
I have achieved vast amount of automation in terms of creating projects, creating kubernetes engine and other IaaS elements, by using GCP APIs from Python GCP Client.
But I am not very positive on deploying docker container workloads to the provisioned cluster. The GCP documents point to kubectl apply -f config.yaml, but this entails using command line tools by first switching to project etc...
This is exactly what I am trying to get away from. Is there a google API that lets us accomplish this?
And no, I do not want third party deployment automation tools for various reasons.
kubernetes google-kubernetes-engine
kubernetes google-kubernetes-engine
asked Nov 18 at 16:25
Ace
49221734
49221734
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
You can use Kubernetes client library to deploy workload programatically.
Here is some client for kubernetes:
- Go client: client-go
- Java client: kubernetes-client/java
- Python client: kubernetes-client/python
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
You can use Kubernetes client library to deploy workload programatically.
Here is some client for kubernetes:
- Go client: client-go
- Java client: kubernetes-client/java
- Python client: kubernetes-client/python
add a comment |
up vote
1
down vote
You can use Kubernetes client library to deploy workload programatically.
Here is some client for kubernetes:
- Go client: client-go
- Java client: kubernetes-client/java
- Python client: kubernetes-client/python
add a comment |
up vote
1
down vote
up vote
1
down vote
You can use Kubernetes client library to deploy workload programatically.
Here is some client for kubernetes:
- Go client: client-go
- Java client: kubernetes-client/java
- Python client: kubernetes-client/python
You can use Kubernetes client library to deploy workload programatically.
Here is some client for kubernetes:
- Go client: client-go
- Java client: kubernetes-client/java
- Python client: kubernetes-client/python
answered Nov 18 at 19:19
Emruz Hossain
90329
90329
add a comment |
add a comment |
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%2f53363037%2fhow-to-deploy-workload-to-gcp-kubernetes-programatically%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