Commit Graph

3926 Commits (33d1ee9401a50657b51b66c01deff43b00b3c71a)

Author SHA1 Message Date
Kubernetes Prow Robot fc1fea418a
Merge pull request #50452 from tengqm/improve-kubeadm-ref
Update the kubeadm config v1beta4 for readability
2025-04-13 16:10:42 -07:00
Qiming Teng a9a4591618 Update the kubeadm config v1beta4 for readability
This PR updates the code snippet to be YAML, using updated config file
source code and generator.
2025-04-10 13:15:54 +08:00
Qiming Teng a3b579d035 Update API reference docs for v1.32 2025-04-09 18:36:39 +08:00
sdarwin 0866416fd5 JSONPath example 2025-04-06 07:02:13 -06:00
steve-hardman fc42330997
Fix broken link 2025-04-04 18:35:42 +01:00
Kubernetes Prow Robot f9be9a248c
Merge pull request #50145 from tengqm/kubelet-authz
Mention the builtin clusterrole in kubelet authorization
2025-03-30 10:24:35 -07:00
Kubernetes Prow Robot f5eee4f11f
Merge pull request #50116 from MohammadAlavi1986/ssa_fix
SSA request bodies can include either JSON or YAML
2025-03-22 16:16:31 -07:00
Mohammad Alavi 5b9d14d80d
Update content/en/docs/reference/using-api/server-side-apply.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2025-03-22 22:57:39 +03:30
Kubernetes Prow Robot 8558bc3561
Merge pull request #49626 from shannonxtreme/mutating-webhook-good-practices
Add a good practices page for mutating webhook design
2025-03-22 07:06:31 -07:00
Shannon Kularathna 14220821d1 Move best practices from dynamic admission control page to best practices page
Moved content as-is (no text changes) for a more readable diff between commits.

The following sections werent moved:

* Idempotence main section (better content in new page)
* Intercepting all versions of an object (better content in new page)
* Guaranteeing the final state of an object is seen
* Avoiding operating in the kube-system namespace
2025-03-21 20:04:03 +00:00
Shannon Kularathna bf971d28d3 Add a new page for mutating webhook good practices.
- Link to new page from dynamic admission control page
- Retain TODOs for info that'll be migration from existing page
2025-03-21 20:00:38 +00:00
Qiming Teng 5bfcf81227 Mention the builtin clusterrole in kubelet authorization
This PR updates the description about the kubelet fine-grained API
authorization.
2025-03-20 08:15:34 +08:00
Qiming Teng aafc50882f Clarify how to config maximum loopback off delay 2025-03-19 15:36:11 +08:00
Kubernetes Prow Robot 2d366ba555
Merge pull request #49341 from tengqm/fg-daemonsetupdate
Fix feature gate DaemonSetUpdateSurge status
2025-03-18 15:29:49 -07:00
Anish Ramasekar 4888dbe086
fix doc for email_verified requirement when username contains claims.email
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-03-17 17:08:26 -07:00
Mohammad Alavi 057e98b14c SSA request bodies can include either JSON or YAML 2025-03-17 21:14:27 +03:30
Mohammad Alavi 06f578a27d swap json and yaml 2025-03-16 17:31:32 +03:30
Tim Bannister 2a3a72e16c
Move CSR for client certificate to tasks section
The moved documentation describes a task, so move it to the
documentation section that describes tasks.
2025-03-04 20:22:32 +00:00
Kubernetes Prow Robot ce5c1100f4
Merge pull request #49334 from UMMAN2005/add-component-sli-metrics-description
Add description for Kubernetes Component SLI Metrics and z-pages
2025-02-28 01:26:23 -08:00
John Huang 41537d92fa Update content/en/docs/reference/node/kubelet-files.md
Co-authored-by: Dipesh Rawat <rawat.dipesh@gmail.com>
2025-02-28 08:02:15 +08:00
pegasas b7edcc3ce9 Mention graceful_node_shutdown_state in kubelet local files page
Update content/en/docs/reference/node/kubelet-files.md

Co-authored-by: Rey Lejano <rlejano@gmail.com>
2025-02-28 08:02:15 +08:00
Umman Mammadov ae7a5944f3
Update zpages.md 2025-02-25 02:02:07 +04:00
Tim Bannister 9195e208f2
Improve JSONPath reference
* Add headings
* Avoid consecutive callouts
* Add a caption to the table
* Misc. small alignments to docs style guide
2025-02-23 23:03:45 +00:00
Richard Tweed 1c250e49bf
Add diagram for admission control phases which shows the new validatingadmissionpolicies (#43836)
* Add diagram for admission control phases which shows the new validatingadmissionpolicies

* Change to a mermaid diagram

* Add accessibility description

* Fix font size issue

* Correct blue colour

* Move diagram type to top to see if it builds correctly

* Convert to exported svg and mermaid-live link

* correct image path

* Update filepath

* Update link to mermaid doc

With the annotation changes

* Delete content/en/docs/images/admission-control-phases.svg

* correct image path

* Correct parallelism of stages and state parallel stage explicitly

* Undo autolint

* Undo further autolint

* Remove bad merge

* Revert yet more IDE autoformatting

* Revert more IDE nonsense

* Remove yet more ide nonsense

* Remove the last of the IDE autoformatting

* Fix last piece of the bad merge
2025-02-23 13:26:27 -08:00
Kubernetes Prow Robot 914faaae67
Merge pull request #49706 from gjenkins8/define_resource_glossary
Define 'resource' in glossary
2025-02-20 16:30:26 -08:00
Kubernetes Prow Robot 91919bdba5
Merge pull request #46798 from fasaxc/patch-1
Add more suggestions for avoiding deadlocks to webhook docs
2025-02-20 14:08:27 -08:00
epicseven-cup a12b8c2df1 extra space in pod tag 2025-02-18 23:18:50 -05:00
Shaun Crampton 0c40eced7e Add more suggestions for avoiding deadlocks
Webhooks can cause deadlocks in several ways, expand the list to cover more subtle cases.

Co-authored-by: Kat Cosgrove <kat.cosgrove@gmail.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2025-02-17 13:21:59 +00:00
Kubernetes Prow Robot f80c848db3
Merge pull request #49360 from Aaina26/update_node_role_in_docs
Updated node roles in docs
2025-02-16 09:18:22 -08:00
George Jenkins acb85c3150 Define 'resource' in glossary
Signed-off-by: George Jenkins <gjenkins8@bloomberg.net>
Co-authored-by: Shannon Kularathna <ax3shannonkularathna@gmail.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2025-02-15 19:08:53 -08:00
Kubernetes Prow Robot 97cbae19d2
Merge pull request #48920 from AmarNathChary/updated_yaml_to_json
Switch extensible admission payload example from YAML to JSON
2025-02-12 23:56:23 -08:00
Kubernetes Prow Robot 06b1d0f4ff
Merge pull request #49720 from NareshKoduru/extra_line
docs(style): embed rolebinding code samples
2025-02-12 20:46:20 -08:00
Kubernetes Prow Robot d6432164d7
Merge pull request #49726 from sftim/20250211_formulae_node_watchdog
Use math formula to show division
2025-02-12 15:12:20 -08:00
Tim Bannister 80609828b2
Use math formula to show division
Co-authored-by: Divya Mohan <divya.mohan0209@gmail.com>
2025-02-12 14:12:34 +00:00
Naresh Koduru 8b78fb8239 enable copying rolebinding examples directly 2025-02-12 13:36:26 +05:30
Kubernetes Prow Robot 74ffdcecda
Merge pull request #48200 from iheartNathan/42288-Inconsistent-documentation-of-default-StorageClass
fix inconsistency in documentation of default storageclass
2025-02-11 05:37:58 -08:00
Kubernetes Prow Robot 2e15797126
Merge pull request #49589 from NareshKoduru/role_copy
Enable copying role and clusterRole snippets
2025-01-29 16:19:22 -08:00
Kubernetes Prow Robot 18396b2bc7
Merge pull request #49520 from ghouscht/extend-vap-docs-with-exempt-resources
docs: extend VAP docs with exempt resources
2025-01-29 09:31:23 -08:00
Naresh Koduru 6c6165d5e2 Enable copying role and clusterRole snippets 2025-01-29 10:15:16 +05:30
Thomas Gosteli 0338db1b94
add exempt api kinds in mutating admission policies doc 2025-01-22 18:31:51 +01:00
Thomas Gosteli 37017f4c04
fix: api kinds in upper camel case 2025-01-22 18:19:26 +01:00
iheartNathan 4e3523c0a0 fix inconsistency in documentation of default storageclass 2025-01-22 15:22:35 +00:00
Sambhav Kothari b0cce97d89
Add cloudcoil to client libraries
[CloudCoil](https://github.com/cloudcoil/cloudcoil) - Production-ready Python client for Kubernetes with async support
I've been working on improving the Python development experience for Kubernetes, and I'm excited to share CloudCoil - a modern K8s client that brings features like async/await, type safety, and integrated testing to the Python ecosystem.
Why another Kubernetes client?
In the Python ecosystem, we've been missing features that Go developers take for granted - things like robust client implementations, proper type safety, and integrated testing tools. CloudCoil aims to fix this by providing:
1) Production-focused features:
* 🔥 Elegant, Pythonic API - Feels natural to Python developers
*  Async First - Native async/await support for high performance
* 🛡️ Type Safe - Full mypy support and runtime validation
* 🧪 Testing Ready - Built-in pytest fixtures for K8s integration tests
* 📦 Zero Config - Works with your existing kubeconfig
* 🪶 Minimal Dependencies - Only requires httpx, pydantic, and pyyaml
2) First-class operator support:
- [cert-manager](https://github.com/cloudcoil/models-cert-manager)
- [FluxCD](https://github.com/cloudcoil/models-fluxcd)
- [Kyverno](https://github.com/cloudcoil/models-kyverno)
(More coming soon - let me know what you'd like to see!)
3) Rich features for production use:
Resource watching with async support:
    async for event_type, pod in await core.v1.Pod.async_watch(
        field_selector="metadata.name=mypod"
    ):
        if event_type == "DELETED":
            break
Smart wait conditions:
    pod = core.v1.Pod.get("test-pod")
    status = await pod.async_wait_for({
        "succeeded": lambda _, pod: pod.status.phase == "Succeeded",
        "failed": lambda _, pod: pod.status.phase == "Failed"
    }, timeout=300)
Dynamic CRD support:
    DynamicCRD = resources.get_dynamic_resource(
        "MyCustomResource",
        "example.com/v1"
    )
    resource = DynamicCRD(
        metadata={"name": "example"},
        spec={"someField": "value"}
    ).create()
4) Installation:
Choose your K8s version:
    # Latest version
    pip install cloudcoil[kubernetes]
    # Specific K8s version
    pip install cloudcoil[kubernetes-1-32]
The project is Apache 2.0 licensed and ready for production use. We'd especially love feedback from:
- Teams using Python for K8s automation
- Anyone building operators/controllers in Python
- DevOps engineers managing multiple clusters
Links:
* GitHub: https://github.com/cloudcoil/cloudcoil
* Docs: https://cloudcoil.github.io/cloudcoil
* PyPI: https://pypi.org/project/cloudcoil
Looking forward to your feedback, especially on what operators you'd like to see supported next!
2025-01-22 14:12:06 +00:00
Aaina26 a337ec3098 made changes to better fit style guide 2025-01-22 14:57:22 +05:30
Aaina26 76806ad602 Added entry for 2025-01-22 12:43:26 +05:30
Thomas Gosteli a1688890f0
Update content/en/docs/reference/access-authn-authz/validating-admission-policy.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2025-01-22 08:11:00 +01:00
Thomas Gosteli ede1a137fc
Update content/en/docs/reference/access-authn-authz/validating-admission-policy.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2025-01-22 08:10:46 +01:00
Thomas Gosteli baaf68c601
Update content/en/docs/reference/access-authn-authz/validating-admission-policy.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2025-01-22 08:10:27 +01:00
Thomas Gosteli eb357e28f7
docs: extend VAP docs with exempt resources
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch>
2025-01-21 17:04:00 +01:00
windsonsea a214e105a2 Clean up service-accounts-admin.md 2025-01-21 09:08:14 +08:00