Update helm install for Kubernetes and add new k8s Docker image#3487
Update helm install for Kubernetes and add new k8s Docker image#3487enisoc merged 2 commits intovitessio:helmfrom
Conversation
|
@enisoc I'm trying to copy the files to the proper destination, as compared to what you are doing in https://github.com/youtube/vitess/pull/3311/files#diff-17c3a71d3c4514bfd55ea66afbcc3e8dR46. I'm hoping to make the InitContainer as simple as possible, maybe as simple as |
|
This would be handy if it ever gets implemented - kubernetes/kubernetes#831 |
|
@derekperkins do you think python client tools/examples belong here? e.g:
|
|
@jvaidya My original thought here was to provide only the bare minimum to run Vitess in production, and to be honest, I'm not familiar with the things that you mentioned. That being said, I only intend on copying those binaries out, so if there was another specific use case where it would be useful to have these other artifacts, and it didn't bloat the container size much, I wouldn't necessarily be opposed. |
2c4e9cf to
8130643
Compare
|
Here is how I anticipate using this image |
8130643 to
efd02b9
Compare
|
Some action items from my conversation today with @enisoc and @sougou
More work on integrating with Orchestrator will happen in a later PR. |
|
Here's a discussion related to chowning and root privileges kubernetes/kubernetes#2630 (comment) |
33d2f7c to
d65224a
Compare
43fadf3 to
e152f2e
Compare
|
@enisoc This should be ready for final review |
e152f2e to
7e24ddb
Compare
This needs to be added to the Docker Hub auto build process
7e24ddb to
1c81c0c
Compare
- Allows for custom database images - Supports MySQL protocol - Upgrade to etcd2 topology server - Uses etcd-operator - Default pod affinity/anti-affinity - HPA for vtgates - Pod security context doesn’t allow root privileges - Supports default credential chains for GCS/S3 - Moves backup and other config to ConfigMap - Temporarily removes Orchestrator support - Vitess components log to stdout/stderr only - MySQL slow/error logs redirected to stdout - Removed syslog and hostPath mounts - Uses new vitess:k8s Docker image - Support regional failure domain affinity
1c81c0c to
e3615bf
Compare
The base image in this repo is 3.1 GB, while this is just 140 MB. I'm working on building a helm chart that will allow users to use any base mysql image, which will use this to copy over only the relevant assets. I'd like to set this image to be an automated build, triggered whenever the base image is rebuilt.