Overview
====
This contains the Nginx configuration for k8s.io and the associated subdomain
redirectors.
Vanity URL(s)
====
| | k8s.io | kubernetes.io |
| --- | --- | --- |
| APT downloads| https://apt.k8s.io | https://apt.kubernetes.io |
| Blog | https://k8s.io/blog | https://kubernetes.io/blog |
| Changelog | https://changelog.k8s.io | https://changelog.kubernetes.io |
| CI logs | https://ci-test.k8s.io | https://ci-test.kubernetes.io |
| Git repo | https://code.k8s.io | https://code.kubernetes.io |
| Search Git repo | https://cs.k8s.io | https://cs.kubernetes.io |
| Downloads | https://dl.k8s.io | https://dl.kubernetes.io |
| Documentation | https://docs.k8s.io | https://docs.kubernetes.io |
| Kubernetes examples | https://examples.k8s.io | https://examples.kubernetes.io |
| Features repo | https://feature.k8s.io
https://features.k8s.io | https://feature.kubernetes.io
https://features.kubernetes.io |
| Install script | https://get.k8s.io | https://get.kubernetes.io |
| Github organization| https://git.k8s.io | https://git.kubernetes.io |
| Redirections | https://go.k8s.io | https://go.kubernetes.io |
| Issues | https://issue.k8s.io
https://issues.k8s.io | https://issue.kubernetes.io
https://issues.kubernetes.io |
| Main site | https://k8s.io | https://kubernetes.io |
| Packages (OpenBuildService) | https://packages.k8s.io
https://pkgs.k8s.io | https://packages.kubernetes.io
https://pkgs.kubernetes.io |
| PR Dashboard | https://pr-test.k8s.io | https://pr-test.kubernetes.io |
| Pull requests | https://pr.k8s.io
https://prs.k8s.io | https://pr.kubernetes.io
https://prs.kubernetes.io |
| Downloads | https://releases.k8s.io
https://rel.k8s.io | https://releases.kubernetes.io
https://rel.kubernetes.io |
| Kubernetes SIGs | https://sigs.k8s.io | |
| Tide status (formerly submit queue) | https://prow.k8s.io/tide | https://prow.kubernetes.io/tide |
| TestGrid | https://testgrid.k8s.io | https://testgrid.kubernetes.io |
| YUM downloads | https://yum.k8s.io | https://yum.kubernetes.io |
| Kubernetes YouTube | https://yt.k8s.io | https://youtube.k8s.io | https://youtube.kubernetes.io | https://yt.kubernetes.io |
NOTE: please see k8s.io/k8s.io/configmap-nginx.yaml for `server` definitions
# Redirections
## go.k8s.io Redirects
- https://go.k8s.io/api-review
- https://go.k8s.io/bot-commands
- https://go.k8s.io/calendar
- https://go.k8s.io/github-labels
- https://go.k8s.io/good-first-issue
- https://go.k8s.io/help-wanted
- https://go.k8s.io/needs-ok-to-test
- https://go.k8s.io/oncall
- https://go.k8s.io/oncall-hotlist
- https://go.k8s.io/owners
- https://go.k8s.io/owners/${GITHUB_USER}
- https://go.k8s.io/partner-request
- https://go.k8s.io/pr-dashboard
- https://go.k8s.io/redirects
- https://go.k8s.io/sig-k8s-infra
- https://go.k8s.io/sig-k8s-infra-notes
- https://go.k8s.io/sig-k8s-infra-playlist
- https://go.k8s.io/start
- https://go.k8s.io/stuck-prs
- https://go.k8s.io/test-health
- https://go.k8s.io/test-history
- https://go.k8s.io/triage
- https://go.k8s.io/logo
- https://go.k8s.io/contact
- https://go.k8s.io/contact/${GROUP_NAME}
- For example:
- https://go.k8s.io/contact/sig-contributor-experience
- https://go.k8s.io/contact/wg-lts
- https://go.k8s.io/contact/committee-steering
## rel.k8s.io Redirects
### Direct Redirects
- https://rel.k8s.io/ → https://github.com/kubernetes/kubernetes/releases
- https://rel.k8s.io/k8s-release-cal → https://calendar.google.com/calendar/embed?src=kipmnllvl17vl9m98jen6ujcrs%40group.calendar.google.com
- https://rel.k8s.io/k8s-sig-release-videos → https://youtube.com/playlist?list=PL69nYSiGNLP3QKkOsDsO6A0Y1rhgP84iZ&si=Mi095CYuJuz8LjN-
### Version-specific Redirects
Example:
- https://rel.k8s.io/vXYY/releasemtg
- https://rel.k8s.io/vXYY/retro
- https://rel.k8s.io/v1XYY/contacts (Note: Access is restricted through Google Authorization)
For all release versions, URLs follow this pattern:
- https://rel.k8s.io/vXYY/{keyword} → https://github.com/kubernetes/sig-release/tree/master/releases/release-X.YY/links.md#{keyword}
NOTE: please see configmap-nginx.yaml for rewrite rules.
How to deploy
====
1) Log into Google Cloud Shell. Our clusters do not allow access from the
internet.
2) Get the credentials for the cluster, if you don't already have them. Run
`gcloud container clusters get-credentials aaa --region us-central1
--project kubernetes-public`. When this is done, you should be able to list
namespaces with `kubectl --context gke_kubernetes-public_us-central1_aaa get
ns`.
3) Run `./deploy.sh`. This will effectively run `./deploy.sh canary` to push
and test configs in the canary namespace, followed by `./deploy.sh prod` to
do the same in prod if tests pass against canary.