Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kfess The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
|
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR adds support for converting Docker Compose's
extra_hostsfield to Kubernetes'hostAliasesfield in Pod specifications.When a
docker-compose.yamlfile containsextra_hostsentries, Kompose will now automatically convert them to the equivalent KuberneteshostAliasesconfiguration. This allows users to maintain custom host-to-IP mappings when migrating from Docker Compose to Kubernetes.Which issue(s) this PR fixes:
Fixes #2066
Special notes for your reviewer:
extra_hostsentry (format: "hostname:ip") to a correspondinghostAliasesentry with the IP and hostname