Codync
무료 오픈소스 1:1 대안, Grok Bot과 Muse 대신
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Pauses idle Kubernetes workloads in staging, preview and dev, and wakes them on the first request.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A team that works 10 hours a day, five days a week, uses staging 50 of 168 hours. That leaves 118 hours, 70% of the week, idle. kubectl napwake scan shows what's idle in your cluster now, and what it costs.
brew install napwake/tap/kubectl-napwake
kubectl napwake scan
It only reads, with your kubeconfig, and installs nothing in the cluster. It never reads Secrets, and its report stays on your machine.
You need Kubernetes 1.30 or later, Helm 3.8 or later, and metrics-server. GKE and AKS run metrics-server already. On EKS, kind and minikube, add it first.
Change Europe/London to your users' time zone. It defaults to UTC, which puts the forecast an hour off their mornings for a while after each daylight-saving change.
printf '\ntimezone: Europe/London\n' >> napwake-values.yaml
helm install napwake oci://ghcr.io/napwake/charts/napwake --version 0.2.0 \
--namespace napwake-system --create-namespace -f napwake-values.yaml
kubectl get pods -n napwake-system
The chart installs the operator and the doorman, as the Deployments napwake and napwake-doorman, and the ManagedWorkload CRD. Keep the values file, and upgrade with it (Keeping your settings).
Installation also has install.yaml, Kustomize, Argo CD and Flux.
With krew:
kubectl krew install --manifest-url \
https://github.com/napwake/napwake/releases/download/v0.2.0/krew-napwake.yaml
Or download it for Linux, macOS or Windows.
From 0.2.0-rc.9, helm upgrade works in place. From 0.1.x or 0.2.0-rc.1 to rc.7, uninstall, then install fresh, as Moving to Napwake says.
Opt one workload in, in dry-run. Napwake measures it and pauses nothing.
kubectl annotate deployment my-api -n staging napwake.dev/dry-run=true
kubectl label deployment my-api -n staging napwake.dev/managed=true
kubectl napwake status -n staging
The annotation goes first, so it starts in dry-run. status shows its state as running (dry-run), with its last activity and when it would pause. When you trust what it measured, end dry-run:
kubectl napwake enable my-api -n staging
After idleAfter with no activity, an hour by default, Napwake pauses my-api. Its replicas go to zero. The next request to its Service wakes it. So does kubectl napwake wake my-api -n staging, which waits until it's Running.
If Argo CD or Flux applies the workload, first have it leave the replicas to Napwake. Otherwise it undoes every pause. The Quickstart runs the whole loop on a sample app.
On a bad day, pausing.enabled: false stops every pause at once and wakes what's paused (Stop all pausing now).
napwake.dev/managed=true.cpuThreshold (10% of the pods' CPU request by default) resets it. So do deploys, activity annotations from your tools, and Prometheus queries you give it.idleAfter with no activity, Napwake pauses the workload. Its replicas go to zero, and its Services and PVCs stay.autoResume, it also wakes the workload 15 minutes before them.Behind a VPN, SSO or an allowlist, the first request wakes a paused workload. Public ones can ask first, with napwake.dev/wake: ask. A browser then gets a Wake it button, and crawlers, scanners and API calls wake nothing (Public preview environments).
On GKE, behind an Ingress or Gateway that uses container-native load balancing (NEGs), set doorman.negForwarder.enabled. Without it, the load balancer answers 502 and the request wakes nothing (Wake on request).
emptyDir or memory, goes with them.It's for non-production. Pausing frees the CPU and memory a workload requested. That's money once your node autoscaler removes nodes, so Napwake reports freed and saved apart.
Napwake can't see requests to an awake workload. One in steady light use, under its cpuThreshold, can look idle and be paused while people use it. The next request wakes it, with a cold start. To stop that, give Napwake a Prometheus query for its traffic, such as your ingress's request rate. Then every request keeps it awake.
watchNamespaces, the operator and the doorman get a Role in each listed namespace in place of a ClusterRole. What stays cluster-wide only reads namespaces, nodes and Karpenter NodePools.kube-*, openshift-*, cattle-*, gke-*, gmp-*), and a namespace labelled napwake.dev/protected=true, are never managed, unless also labelled napwake.dev/allow-protected=true.napwake.dev/paused-from annotation, and its own ManagedWorkloads and EndpointSlices.Security and Data and access have the exact RBAC, and how to verify a release.
The full docs are at docs.napwake.dev. Start here:
| Command | What it does | Needs the operator |
|---|---|---|
scan | Shows what's idle, what it costs, and what pausing could free | No |
nodes | Shows why what pausing frees isn't coming off the bill | No |
forecast | Replays the forecast over your Prometheus history, before you turn on autoResume | No, but it needs Prometheus history |
status | Shows what Napwake is doing with each workload it manages | Yes |
enable | Ends dry-run for a workload or namespace | Yes |
pause | Pauses a workload now, to wake on its next request | Yes |
wake | Wakes a paused workload and waits until it's Running | Yes |
deps | Shows what Napwake wakes and holds awake with a workload, and what depends on it | Yes |
version | Prints the plugin's version | No |
Every flag is in the kubectl plugin reference.
Napwake is at 0.2.0. Its API is napwake.dev/v1alpha1, which may change before 1.0. It has no telemetry, usage reporting or update checks.
Code lands through pull requests. Each one runs the unit tests, and end-to-end tests on kind with Kubernetes 1.30 and 1.37. Napwake is also tested by hand on GKE Standard. EKS, AKS and GKE Autopilot aren't tested yet.
Each release signs its image, chart and checksums with Sigstore, keylessly. It carries an SPDX SBOM for each platform, and GitHub build provenance. Then the install smoke test installs it as the docs say, with Homebrew and krew on clean macOS and Ubuntu, and with Helm and install.yaml on a new kind cluster, and checks its signatures.
Copyright 2026 The Napwake Authors. Licensed under the Apache License, Version 2.0.