istio-ecosystem / coddiwomple Goto Github PK
View Code? Open in Web Editor NEWCoddiwomple: a Multi-Cluster-Config Generator
License: Apache License 2.0
Coddiwomple: a Multi-Cluster-Config Generator
License: Apache License 2.0
It would be really useful for customers to see a cute version number, to excite them about keeping up with releases.
It would also help us from a packaging & PR PoV
Should also include git SHA for debugging.
See #2 for service -> external
By routing traffic through the egress gateway we can
Implement with caller-side VS
Should be optional becuase we don't want
and go modules. Requires moving from operator-sdk to controller
e.g. cw gen services —clusters-file= —out services.json
Command that connects to a kube cluster, creates GlobalService configs for all of them, merging them if they already exist in the output file
The current config we generate exposes internal services (i.e. those expecting to protected in the old-fashioned way by a non-routable L3 address) to the internet, with no TLS, not even simple.
We should generate config which sets up mTLS for mesh-to-mesh calls, and instructions for configuring the certs.
In addition to our own clusters.json format
E.g. cw gen clusters —kube-config=foo —kube-config=bar —out clusters.json
Should take a list of kubeconfigs and emit a clusters.json file, merging with any existing one provided.
This code already exists as shell.
There used to be a tool in istioctl to do this (that was removed before 1.0), I think it'd be worth resurrecting here as it's still a common stumbling block for people moving from k8s. We can definitely cover transforming a basic ingress into a Gateway+VS easily, which covers the 80% use case. There's likely a subset of annotations that it would be worthwhile to handle as well.
To fit with cw gen [clusters|services|externals]
In order for services to use mTLS across clusters, Citadel instances in each cluster need to be configured to sign with keys in a common trust domain. The set up required today is rather involved. It would be nice to package up the cert creation and per-cluster config generation into a single tool.
Cute versions for users
Makes packaging and PR easier for us
should include git SHA for debugging
If you're going to route to an external name, you need a combination of service entries and gateway config to route the external name to an egress gateway then out to the final destination. It's tedious to set up but easy to automate. We should add this as a subcommand, e.g. cw external-service https://wikipedia.org
, which would spit out the required config.
I'll post example config setup for wikipedia.org shortly.
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.