Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update Kubernetes Deployment for django tutorial #4831

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 11, 2020

Conversation

askmeegs
Copy link
Contributor

@askmeegs askmeegs commented Oct 8, 2020

Description

Fixes b/149717875 - Upgrades the Kubernetes Deployment file to the apps/v1 API version, which includes adding an app selector field.
https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#creating-a-deployment

And fixes a syntax error where the emptydir volume type was set to null instead of the correct {}.
Tested + verified the updated sample against the doc: https://cloud.google.com/python/django/kubernetes-engine#top_of_page

Checklist

@askmeegs askmeegs requested a review from a team as a code owner October 8, 2020 19:44
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 8, 2020
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Oct 9, 2020
@askmeegs askmeegs requested review from djmailhot and engelke October 9, 2020 17:26
Copy link
Contributor

@engelke engelke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@djmailhot djmailhot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@askmeegs askmeegs merged commit 98b7cab into master Oct 11, 2020
@askmeegs askmeegs deleted the gke-django-polls-update branch October 11, 2020 19:32
craiglabenz pushed a commit that referenced this pull request Nov 2, 2020
* Update Kubernetes Deployment for django tutorial

* restore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.