-
Notifications
You must be signed in to change notification settings - Fork 14k
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
Pod reference contains broken links to KEP #26168
Comments
It looks like it's being updated and needs to be regenerated. /triage accepted |
@oke-py @Cweiping so this just involves regenerating the reference documentation from the OpenAPI spec, a la https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/? |
/assign |
I regenerated the API docs, but the same links are still there (the broken ones). These are the locations where they appear in the k8s source (just using the second broken link as an example): staging/src/k8s.io/cli-runtime/artifacts/openapi/swagger.json
8905: "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md",
staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go
1644: "readinessGates": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md",
staging/src/k8s.io/api/core/v1/types.go
3123: // More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md
staging/src/k8s.io/api/core/v1/generated.proto
3570: // More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/testdata/swagger.json
2522: "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md",
staging/src/k8s.io/kubectl/testdata/openapi/swagger.json
8905: "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md",
api/openapi-spec/swagger.json
8908: "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md",
vendor/sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/v1204/swagger.json
8550: "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md",
pkg/apis/core/types.go
2836: // More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md obviously some of them are generated but given that trunk still has these broken references I don't think generating the API docs helps. I'll see about submitting a PR into k8s source I guess. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
FYI this looks like it was fixed btw: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#pod-v1-core |
This is a Bug Report
Problem:
These links are broken.
Proposed Solution:
The correct links would be as follows.
Page to Update:
https://kubernetes.io/docs/reference/kubernetes-api/workloads-resources/pod-v1/
The OpenAPI definition, not this page, should be modified, right?
The text was updated successfully, but these errors were encountered: