Comments (8)
from okd4-upi-lab-setup.
Yeah, I fixed that image pruner in my docs a couple days ago. I got bad syntax from an old version of the documentation.
4.6 probably won't be working for a while. It is a new branch being developed. OCP 4.5 will be GA soon. OKD 4 GA will be based on 4.5.
from okd4-upi-lab-setup.
This should fix the issue. You will have to build from a 4.5 nightly. Beta 6 will not have this fix.
openshift/machine-config-operator#1889
from okd4-upi-lab-setup.
Cool! Thx!
Works with:
4.5.0-0.okd-2020-07-02-203357
stable/32.20200615.3.0
Just change in image pruner from:
"*/0 * * * *"
to
"0 0 * * *"
than error disappears.
Tested with Rook: 1.3.7 ... just copy and paste new manifests and apply your changes.
4.6.0-0.okd-2020-07-01-233221
still not working
from okd4-upi-lab-setup.
Where exactly (or how) do I change the image pruner?
from okd4-upi-lab-setup.
This is the link to the OCP 4.4 docs, should be the same for 4.5:
https://docs.openshift.com/container-platform/4.4/registry/configuring-registry-operator.html
It is a custom resource. The one created by default is named cluster
You can patch it with a schedule like this: (Runs every day at midnight.)
oc patch imagepruners.imageregistry.operator.openshift.io/cluster --type merge -p '{"spec":{"schedule":"0 0 * * *","suspend":false,"keepTagRevisions":3,"keepYoungerThan":60,"resources":{},"affinity":{},"nodeSelector":{},"tolerations":[],"startingDeadlineSeconds":60,"successfulJobsHistoryLimit":3,"failedJobsHistoryLimit":3}}'
Or use cron
syntax to set your own schedule.
from okd4-upi-lab-setup.
This is exactly what I did!
from okd4-upi-lab-setup.
Closing this.
from okd4-upi-lab-setup.
Related Issues (16)
- Thoughts on helpernode, to provide shared/bootstrap services? HOT 3
- 3-node minimal cluster without nested virtualisation? HOT 5
- Manual KVM Host Install specifies CentOS 7 HOT 1
- Move workloads to masters HOT 6
- Consider using RHEL instead of CentOS Stream HOT 2
- Bare-metal LoadBalancer service HOT 2
- Wrong names for CentOS 8 repos
- DeployKvmHost.sh incorrect for current CentOS 8.3 HOT 1
- Error mirroring to nexus HOT 1
- Join us in fighting covid as an iPXE expert HOT 5
- In bootstrap install process, openshift-kube-api-server namespace ip incorrect HOT 7
- Wow! Just a starter question. HOT 43
- Ceph HOT 16
- Thx for your help and inspiration! HOT 1
- Invalid image pruner cron HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from okd4-upi-lab-setup.