Open frankgreco opened 6 years ago
Unfortunately not for the moment. We will update to 1.9 in the next release if everything goes well.
@guillaumerose is there a somewhere I can track release dates (e.g. expected date the next release will occur). Also, which feature gates do you enabled on the apiserver by default
We follow the same release dates as docker-ce. Every rc goes to edge channel. You can expect 2-3 releases per month.
We use default feature gates of kubeadm. The list is here: https://github.com/kubernetes/kubernetes/blob/master/cmd/kubeadm/app/features/features.go#L49
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen
comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale
/remove-lifecycle stale
@guillaumerose should this issue still be in triage mode? Is this a feature that is planning on being implemented in the future?
For the moment, we are focusing on the upgrade to 1.10. I believe at some point you will be able to customize the kubeadm MasterConfiguration that we use. But not in a near future, sorry :/
/lifecycle frozen
any updates on this, i wanted to enable a feature-gate for 1.10
Any update or workaround for this a couple years later?
It'd be quite useful for enabling feature-gate flags, eg. for enabling Ephemeral Containers for easier pod debugging.
EDIT: Also noticed this issue, which seems related: https://github.com/docker/for-mac/issues/2771
Several hours later, and I finally found a way to enable Kubernetes feature-gates in Docker Desktop.
See this stack-overflow answer for the painful story of my path toward finding out how.
TL;DR
Steps:
1) Open the [...]/kubeadm/manifests
folder, in the Docker filesystem. (on Windows, navigate Windows Explorer to: \\wsl$\docker-desktop-data\version-pack-data\community\kubeadm\manifests
)
2) Open the kube-controller-manager.yaml
, kube-apiserver.yaml
, and kube-scheduler.yaml
files, adding the line below:
spec:
containers:
- command:
[...]
- --feature-gates=EphemeralContainers=true <-- add this line (or whatever feature-gate flags you need)
3) Restart Docker Desktop.
Expected behavior
I expect there to be a way to enable feature gates on the Kubernetes API server. I also expected to be able to switch between Kubernetes versions.
Actual behavior
Perhaps this is possible, just not documented, but I don't know if there is a way to enable feature gates on the API server or switch between Kubernetes versions.
Information