Use this skill for Knative Serving work on Kubernetes clusters. Prefer current cluster state over assumptions: inspect resources with kubectl and kn, then make the smallest manifest or command change that matches the user's deployment model.
```bash
kubectl config current-context
kubectl get ns
kubectl get ksvc,route,configuration,revision -A
```
kn for fast operational changes and examples; prefer YAML plus kubectl apply when the user needs reviewable declarative config.spec.template so Knative creates a new Revision for behavior-changing changes.```bash
kn service describe
kubectl get ksvc
kubectl get revision -n
kubectl get route
```
Read only the files needed for the task:
references/overview-and-crds.md: Serving resource model, CRD schema discovery, core objects, Serving API fields, and important labels/annotations.references/kn-cli.md: kn CLI workflows for create, update, describe, revisions, traffic, domain, and service operations.references/autoscaling.md: KPA/HPA, metrics, concurrency, RPS target, scale-to-zero, scale bounds, scale windows/delays, and autoscaling annotations.references/container-settings.md: container image, ports, env, secrets/config, resources, probes, timeouts, volumes, private registries, multi-container, and queue-proxy implications.references/revisions-and-traffic.md: immutable Revisions, rollout, pinning, tagging, splitting, rollback, and garbage collection.references/networking.md: Route, ingress, external URL, cluster-local/private services, DomainMapping, default domains, TLS, ingress class, Kourier/Istio/Contour notes.references/observability.md: Serving metrics, queue-proxy and autoscaler signals, logs, tracing, and config-observability/config-logging.references/debugging.md: diagnosis flow, commands, condition interpretation, logs/events, and common error patterns.references/common-errors.md: quick lookup table for frequent Knative Serving failures and fixes.Service (ksvc) for normal workloads; reach for lower-level Route/Configuration only when the user explicitly needs them.spec.template.metadata.annotations as Revision-scoped unless the reference says otherwise.kubectl explain, kubectl get crd, and OpenAPI output.kn can install Knative Serving or Eventing; use it for resource operations after Knative is installed.config-observability, config-logging, and the cluster monitoring stack first.containerConcurrency as a generic fix. It can increase queueing, latency, and cold starts.concurrency and rps; HPA handles CPU, memory, and custom metrics when configured.共 1 个版本