website/content/en/docs/reference/glossary/host-aliases.md

18 lines
644 B
Markdown

---
title: HostAliases
id: HostAliases
date: 2019-01-31
full_link: /docs/reference/generated/kubernetes-api/v1.13/#hostalias-v1-core
short_description: >
A HostAliases is a mapping between the IP address and hostname to be injected into a Pod's hosts file.
aka:
tags:
- operation
---
A HostAliases is a mapping between the IP address and hostname to be injected into a Pod's hosts file.
<!--more-->
[HostAliases](/docs/reference/generated/kubernetes-api/v1.13/#hostalias-v1-corev) is an optional list of hostnames and IP addresses that will be injected into the Pod's hosts file if specified. This is only valid for non-hostNetwork Pods.