Argo Workflows · JSON Structure

Argo Workflows Io K8S Api Core V1 Host Alias Structure

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

Type: object Properties: 2 Required: 1
CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

io.k8s.api.core.v1.HostAlias is a JSON Structure definition published by Argo Workflows, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

hostnames ip

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-structure/argo-workflows-io-k8s-api-core-v1-host-alias-structure.json",
  "name": "io.k8s.api.core.v1.HostAlias",
  "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.",
  "type": "object",
  "properties": {
    "hostnames": {
      "description": "Hostnames for the above IP address.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-kubernetes-list-type": "atomic"
    },
    "ip": {
      "description": "IP address of the host file entry.",
      "type": "string"
    }
  },
  "required": [
    "ip"
  ]
}