Comments (7)
@jorgemoralespou can you help here? I am not as familiar with minishift
.
from installcentos.
@ryannix123 If I understand what you're trying to do, is execute the addon on the OpenShift cluster that has been installed via this repository method?
If that is correct, you should get into the OpenShift VM and execute that command without "minishift" prefix, but AFAIK that is not required on a regular cluster but only on a minishift cluster, because how that OpenShift instance is configured by default.
If what you want is help setting up OpenWhisk on minishift, the openwisk addon is a great place to start and ask there, although I guess you're coming from that (https://github.com/minishift/minishift-addons/tree/master/add-ons/openwhisk).
If you give me more details on what you're trying to do I might be able to provide a better answer.
from installcentos.
Thanks, @jorgemoralespou Yes, I'm trying to patch my instance with the code above so I can properly deploy OpenWhisk on my single instance of OpenShift.
from installcentos.
What is the syntax for patching? Something like this?
oc patch config set --patch '{"admissionConfig": "pluginConfig": {"openshift.io/ImagePolicy": {"configuration": {"apiVersion": "v1","kind": "ImagePolicyConfig", "resolveImages": "AttemptRewrite"}}}}}'
When I try to run this, the message I get back says "the server doesn't have a resource type "config""
from installcentos.
oc is the cli for OpenShift. On the server there is another command, called openshift (soon to be removed) that is admin CLI, but the command patch is removed from that CLI.
Currently the options for a 3.9 environment are:
- Use sed
- Use a docker image of openshift:3.7 (or before) to patch the config file, like this:
docker run -v <CONF_DIR>:/config -it --rm \
openshift/origin:v3.7 \
/usr/bin/openshift ex config patch /config/master-config.yaml --patch='{"admissionConfig": "pluginConfig": {"openshift.io/ImagePolicy": {"configuration": {"apiVersion": "v1","kind": "ImagePolicyConfig", "resolveImages": "AttemptRewrite"}}}}}'
Replace CONF_DIR with your directory.
Anyways, you need to verify that is the config you need in your 3.9 OpenShift instance. You should ask in the appropriate forum, and not here.
from installcentos.
@ryannix123 fwiw, you shouldn't need to do this anymore as we reverted our ImageStream use on the master branch. (it's still good to know how, of course)
from installcentos.
Terrific. Thanks, @jcrossley3 and @jorgemoralespou
from installcentos.
Related Issues (20)
- all check status of * image pre-pull failed HOT 1
- How to add CNS after installation
- pods can not accessible routing issue. HOT 2
- Two Adapters always tries to use NAT for local HOT 1
- OKD 4? HOT 3
- Letsencrypt autorenewal fails for OKD 3.11 HOT 2
- oc login connection refused HOT 7
- FAILED - RETRYING: Wait for control plane pods to appear HOT 1
- Cluster console shows the testing page of the Apache HTTP server
- failed to login to the internal docker registry: x509: certificate is valid for lz-virtualserver01-centos7-lamp.zhangllc.cloud, not docker-registry-default.apps.169.54.173.22.nip.io
- https://console.xxx.com:8443 not opening HOT 3
- Multi-node installation HOT 1
- Install failed deploy_cluster.yml could not be found HOT 1
- Centos 8 HOT 2
- Anyway to update the default PHP container?
- Stuck at FAILED - RETRYING: Wait for all control plane pods to come up and become ready HOT 4
- Working with Subdomains HOT 1
- Service catalog install failed HOT 1
- Error: timed out waiting for the condition
- Redeployment of certificates fails
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 installcentos.