by mrzhuh · v0.0.1
Operate kubernetes cluster, such as updating Deployment image and updating Pod environment variables
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
English | 中文说明
Author: MRZHUH
Version: 0.0.1
Type: tool
kubeconfigkubeconfig (base64 content or file path)tlsMode
strict: verify CA and hostname (default)skip-hostname: skip hostname verification, still verify CA; useful when connecting via IP but the certificate lacks IP SANinsecure: skip all verifications (for debugging only)clusters[].cluster.insecure-skip-tls-verify: trueK8S_TLS_MODE=skip-hostname or insecureList Resources
nodes/pods/deployments/statefulsets/daemonsets/services/ingressesresourceType (required, supports short names: no/pod/deploy/sts/ds/svc/ing), namespace (optional)list_namespace(limit=1) and returns concise attributes per itemitems plus time infoGet Resource
resourceType, name (optional), namespace (defaults to default for namespaced kinds; ignored for node), outputFormat (json or yaml, default json)name is empty, list resources; namespaced kinds list within namespace (default default); cluster-scoped kinds (e.g. node) list allobject or items, plus time infoUpdate Image
Deployment/StatefulSet/DaemonSetresourceType, name, namespace (default default), image, tag, container (optional filter)spec.template.spec.containers, and applies patch_namespaced_*changed and unchanged, plus time infoUpdate Environment Variables
Deployment/StatefulSet/DaemonSetresourceType, name, namespace (default default), envKey, envValue, container (optional)patch_namespaced_*changed and unchanged, plus time infoGet Events
namespace (optional), limit (optional)EventsV1Api, falls back to CoreV1Api when neededevents plus time infoList Resources, leave namespace empty, set resourceType=podGet Resource, resourceType=deployment, name=<NAME>, namespace=<NS>, outputFormat=jsonUpdate Image, resourceType=deployment, name=<NAME>, image=repo/app, tag=v1.2.3Update Environment Variables, resourceType=deployment, name=<NAME>, envKey=LOG_LEVEL, envValue=debugGet Events, optionally set namespace and limitCoreV1Api.list_namespace(limit=1); failures are typically certificate or network issuescertificate verify failed: IP address mismatch:
server to a hostname that matches the certificate, or add IP SAN to the certificatetlsMode=skip-hostname to keep CA verification while skipping hostname matchtlsMode=insecure (not recommended for production)