Comments (7)
@jhiemer Unfortunately the kubernetes cpi is not yet prepared to be configured via cpi config. I.e. you cannot run it as multi cpi.
What is your specific use case?
from bosh-kubernetes-cpi-release.
@loewenstein my initial idea was to deploy it beside our OS CPI and try to do some bosh deployments onto our K8s Cluster.
What is missing until the CPI is deployable?
from bosh-kubernetes-cpi-release.
bosh-cpi-haskell should support getting configuration from RPC context, as per
CPI should be able to accept properties in context key and use them instead of its job properties
see context key in https://bosh.io/docs/build-cpi.html#request
in https://github.com/cloudfoundry/bosh-notes/blob/master/proposals/multi-cpi.md
from bosh-kubernetes-cpi-release.
@loewenstein could you help me to understand your answer? I am not sure if I get it completely.
from bosh-kubernetes-cpi-release.
@jhiemer sure. The default mechanism for a CPI to get its configuration (api endpoint, credentials, ...) is a configuration file template in the Bosh release that gets rendered onto the VM that is running the director and cpi jobs.
Multi-cpi introduced a separate configuration (with api endpoint, credentials, ...) that can be uploaded to the director (with bosh update-cpi-config
).
The corresponding configuration will be provided to the cpi with each RPC call (e.g. create_vm) in the context
parameter. In order to support multi-cpi, the cpi has to read that additional bit of information from context
and merge it with the base config provided via rendered config.
That is not yet supported by bosh-cpi-haskell which is the base cpi implementation used by the Kubernetes cpi.
Does that help?
from bosh-kubernetes-cpi-release.
@loewenstein I see. Thanks a lot for the explanation. There are no plans from your site in the near future to add this functionality?
from bosh-kubernetes-cpi-release.
from bosh-kubernetes-cpi-release.
Related Issues (6)
- The requirement to re-create Pod for `attach_disk` messes up with BOSH DNS
- create-env.sh fails in Minikube environment HOT 4
- We should support running the CPI as a specific service account
- Documentation: Is this only GCE specific? HOT 1
- unable to deploy example zookeeper bosh release on minikube and gce HOT 1
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 bosh-kubernetes-cpi-release.