Resource Type: kubernetes_eviction

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

Overview

Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to …/pods/<pod name>/evictions.

Properties

  • delete_options

    DeleteOptions may be provided

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • metadata

    ObjectMeta describes the pod that is being evicted.

Parameters

  • name (namevar)

    Name of the eviction.

  • provider

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