Commit Graph

3902 Commits

Author SHA1 Message Date
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
Lubomir I. Ivanov fc222599a9 kubeadm-reset: add notes about more manual cleanup steps 2025-01-17 18:27:11 +02:00
Mohammad Alavi 45182c8c24
change ValidatingAdmissionWebhook to ValidatingAdmissionPolicy 2025-01-14 21:22:05 +07:00
Kubernetes Prow Robot d4ecebf369
Merge pull request #49171 from yuto-kimura-g/fix/49116
Update stale glossary entry for "minikube"
2025-01-13 02:34:32 -08:00
Kubernetes Prow Robot 4635fc7a48
Merge pull request #49355 from tengqm/fg-rdsv-132
Add feature gate for RelaxedDNSSearchValidation in v1.32
2025-01-10 05:14:31 -08:00
Kubernetes Prow Robot 280b7d922b
Merge pull request #49343 from tengqm/fg-kubeproxyversion-132
Fix gate status for DisableNodeKubeProxyVersion
2025-01-10 05:12:32 -08:00
Qiming Teng d7b4f8cfb4 Add feature gate for RelaxedDNSSearchValidation in v1.32 2025-01-10 20:22:19 +08:00
Qiming Teng 2f005c3c16 Fix gate status for DisableNodeKubeProxyVersion
The gate was "deprecated" in v1.31 after several rounds of battles.
2025-01-10 20:14:06 +08:00
Kubernetes Prow Robot 5d3b9c3c43
Merge pull request #49176 from tancheng33/validating-admission-policy-docs
Reorder ValidatingAdmissionPolicy components for logical flow
2025-01-10 01:52:32 -08:00
Kubernetes Prow Robot 88b6be5cea
Merge pull request #49347 from tengqm/fg-scefv-132
Fix gate status for StrictCostEnforcementForVAP in v1.32
2025-01-09 12:40:34 -08:00
Kubernetes Prow Robot 826e29f7b8
Merge pull request #49348 from tengqm/fg-scefw-132
Fix gate status for StrictCostEnforcementForWebhooks in v1.32
2025-01-09 12:38:31 -08:00
Kubernetes Prow Robot c6bd33d9ef
Merge pull request #49351 from tengqm/fg-btree-132
Add feature gate BtreeWatchCache for v1.32.
2025-01-09 08:46:31 -08:00
Kubernetes Prow Robot 05d32fb3e4
Merge pull request #48964 from T-Lakshmi/slis
Corrected featute state for ComponentSLIs
2025-01-09 07:14:33 -08:00
Kubernetes Prow Robot 7f0f7665d9
Merge pull request #49346 from tengqm/fg-svm-132
Fix gate status for StorageVersionMigrator in v1.32
2025-01-09 03:14:31 -08:00
Kubernetes Prow Robot dade3eeeaf
Merge pull request #49344 from tengqm/fg-eventedpleg
Fix status for EventedPLEG
2025-01-09 03:12:33 -08:00
Kubernetes Prow Robot 9babd649b9
Merge pull request #49359 from tengqm/fg-sni-132
Add feature gate StorageNamespaceIndex for v1.32
2025-01-09 00:54:31 -08:00
Kubernetes Prow Robot af83f54f2c
Merge pull request #49353 from tengqm/fg-ippvsec-132
Add feature gate InPlacePodVerticalScalingExclusiveCPUs v1.32
2025-01-09 00:44:30 -08:00
Kubernetes Prow Robot 64dbb90b5b
Merge pull request #49357 from tengqm/fg-scwr-132
Add feature gate SeparateCacheWatchRPC v1.32
2025-01-08 06:32:30 -08:00
Kubernetes Prow Robot 07b9d8d335
Merge pull request #49350 from tengqm/fg-apiserving-132
Add feature gate for APIServingWithRoute
2025-01-08 06:30:30 -08:00
Qiming Teng df8f12d4c6 Add feature gate StorageNamespaceIndex for v1.32 2025-01-08 22:03:29 +08:00
Qiming Teng 3e427915a9 Add feature gate SeparateCacheWatchRPC v1.32 2025-01-08 22:02:31 +08:00
Qiming Teng 3318f46f86 Add feature gate InPlacePodVerticalScalingExclusiveCPUs v1.32 2025-01-08 22:00:48 +08:00
Qiming Teng 6755efa79d Add feature gate BtreeWatchCache for v1.32. 2025-01-08 21:59:39 +08:00