doodlescheduling / k8s-pause Goto Github PK
View Code? Open in Web Editor NEWSuspend/Resume kubernetes namespaces
License: Apache License 2.0
Suspend/Resume kubernetes namespaces
License: Apache License 2.0
I expected that declaring a ResumeProfile
would allow me to specify pods that should always remain active, even when the namespace is suspended. However, this does not seem to be the case.
Steps to reproduce the behavior:
ResumeProfile
targeting specific pods.k8s-pause/suspend
to "true" on the namespace.ResumeProfile
.k8s-pause/suspend
to "false".ResumeProfile
are resumed, while the others remain paused.I expected that the pods specified in the ResumeProfile
would always remain up and running, regardless of the namespace suspension state. Specifically:
k8s-pause/suspend
is set to "true", the pods defined in the ResumeProfile
should continue running, while all other pods are paused.k8s-pause/suspend
is set to "false", all pods should resume, but the pods in the ResumeProfile
should not have been paused in the first place.Is this a bug or is it intentional behaviour? How can I create an exception such that a set of pods never pauses?
Thank you for looking into this issue.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
k8s.io/api
, k8s.io/apimachinery
, k8s.io/client-go
)Dockerfile
.github/workflows/main.yaml
actions/checkout v3@8f4b7f84864484a7bf31766abe9204da3cbe65b3
actions/setup-go v4.0.0@4d34df0c2316fe8122ab82dc22947d607c0c91f9
actions/cache v3.3.1@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
shogo82148/actions-goveralls v1.6.0@31ee804b8576ae49f6dc3caa22591bc5080e7920
.github/workflows/pr-build.yaml
actions/checkout v3@755da8c3cf115ac066823e79a1e1788f8940201b
actions/setup-go v3.5.0@6edd4406fa81c3da01a34fa6f6343087c207a568
actions/cache v3.2.2@4723a57e26efda3a62cbde1812113b730952852d
shogo82148/actions-goveralls v1.6.0@31ee804b8576ae49f6dc3caa22591bc5080e7920
engineerd/setup-kind v0.5.0@aa272fe2a7309878ffc2a81c56cfe3ef108ae7d0
.github/workflows/pr-chart.yaml
actions/checkout v3@755da8c3cf115ac066823e79a1e1788f8940201b
azure/setup-helm v3.5@5119fcb9089d432beecbf79bb2c7915207344b78
actions/setup-python v4.4.0@5ccb29d8773c3f3f653e1705f474dfaa8a06a912
helm/chart-testing-action v2.3.1@afea100a513515fbd68b0e72a7bb0ae34cb62aec
helm/kind-action v1.5.0@d8ccf8fb623ce1bb360ae2f45f323d9d5c5e9f00
.github/workflows/pr-label.yaml
pascalgn/size-label-action 1619680c5ac1ef360b944bb56a57587ba4aa2af8
.github/workflows/rebase.yaml
actions/checkout v3@755da8c3cf115ac066823e79a1e1788f8940201b
cirrus-actions/rebase 1.8@b87d48154a87a85666003575337e27b8cd65f691
.github/workflows/release-chart.yaml
actions/checkout v3@755da8c3cf115ac066823e79a1e1788f8940201b
azure/setup-helm v3.5@5119fcb9089d432beecbf79bb2c7915207344b78
.github/workflows/release.yaml
actions/checkout v3@755da8c3cf115ac066823e79a1e1788f8940201b
actions/setup-go v3.5.0@6edd4406fa81c3da01a34fa6f6343087c207a568
docker/login-action v2.1.0@f4ef78c080cd8ba55a85445d5b36e214a81df20a
sigstore/cosign-installer v2.8.1@9becc617647dfa20ae7b1151972e9b3a2c338a2b
anchore/sbom-action v0.13.1@06e109483e6aa305a2b2395eabae554e51530e1d
goreleaser/goreleaser-action v4.1.0@8f67e590f2d095516493f017008adc464e63adb1
.github/workflows/scan.yaml
actions/checkout v3@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
fossa-contrib/fossa-action v2.0.0@6728dc6fe9a068c648d080c33829ffbe56565023
actions/checkout v3@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
github/codeql-action codeql-bundle-20221020@dc046388f30eacf938aadd32064285f437bd9c04
github/codeql-action codeql-bundle-20221020@dc046388f30eacf938aadd32064285f437bd9c04
github/codeql-action codeql-bundle-20221020@dc046388f30eacf938aadd32064285f437bd9c04
go.mod
go 1.20
github.com/go-logr/logr v1.2.3
github.com/onsi/ginkgo/v2 v2.9.1
github.com/onsi/gomega v1.27.4
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.14.0
k8s.io/api v0.26.1
k8s.io/apimachinery v0.26.1
k8s.io/client-go v0.26.1
sigs.k8s.io/controller-runtime v0.14.6
chart/k8s-pause/values.yaml
quay.io/brancz/kube-rbac-proxy v0.14.2
config/base/manager/kustomization.yaml
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.