Resource Type: kubernetes_host_alias

Defined in:
lib/puppet/type/kubernetes_host_alias.rb
Providers:
swagger

Overview

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod’s hosts file.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • hostnames

    Hostnames for the above IP address.

  • ip

    IP address of the host file entry.

Parameters

  • name (namevar)

    Name of the host_alias.

  • provider

    The specific backend to use for this ‘kubernetes_host_alias` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.