Comments (3)
+1 to the overall goal here. Extra ENVs are totally useful, and welcome.
This is tricky. I feel very strongly that ocm-container should be usable without installing any other tools on the host, so we'll either need to code up ocm lookups via token into the golang stuff (which I'm not opposed to - some of that exists here, but is not used at all yet: https://github.com/clcollins/ocm-container/blob/golang/pkg/ocm/ocm.go ), or move it into the internal container and process it via bash, which we do a little of, but is really messy and makes startup take longer.
A lot of the ocm stuff is cribbing from osdctl, which is unfortunate. We really should try to get @AlexVulaj's ocm-common package stuff off the ground, if we can. There's too much code duplication here.
Finally, we also want to consider startup time - whatever we do here, we need to be really cognizant about how many calls we make to external services and external latency. One of the big complaints I hear from folks who choose not to adopt ocm-container is the startup time, and they're not wrong.
We should look at the minimum calls we need to make for any given cluster, both internal and external, make sure all required calls to get started are as concurrent as possible, and any subsequent data we need is called as needed (automatically, of course, so at least it feels like what you're going for here).
from ocm-container.
ocm backplane login
shows a list of namespaces associated with the MC or Hive shard if we login with the --manager flag.
Maybe we can co-ordinate with those lovely folks to set those NSes as env vars (if that doesn't already happen) so everyone can benefit from this.
from ocm-container.
Related Issues (13)
- shellcheck found multiple issues HOT 3
- Instead of having one big chown, each move should set permissions HOT 3
- host directory cannot be empty HOT 1
- Discussion: --entrypoint vs dedicated `exec` command? HOT 3
- Add an option to log directly into a manager or service cluster HOT 3
- Adjust login and querying for regional data sovereignty changes
- podman warning when running ocm-container first time after reboot HOT 1
- Investigate using sshuttle as a service HOT 12
- ` › Error: No assignees specified.` in chgm HOT 2
- possible solution for rhash fix HOT 8
- use a different way of builing the oc binaries HOT 8
- `cluster-login` removed, but still required by sre-login HOT 4
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 ocm-container.