Class: Kubes::Compiler::Dsl::Syntax::Pod
- Defined in:
- lib/kubes/compiler/dsl/syntax/pod.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
#default_kind, #default_metadata, #default_result, #default_result_append, #default_top, #field, #top
Methods included from Util::Normalize
#extract_type, #normalize_kind
Instance Method Details
#default_apiVersion ⇒ Object
38 39 40 |
# File 'lib/kubes/compiler/dsl/syntax/pod.rb', line 38 def default_apiVersion "v1" end |
#default_spec ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/kubes/compiler/dsl/syntax/pod.rb', line 42 def default_spec { activeDeadlineSeconds: activeDeadlineSeconds, affinity: affinity, automountServiceAccountToken: automountServiceAccountToken, containers: containers, dnsConfig: dnsConfig, dnsPolicy: dnsPolicy, enableServiceLinks: enableServiceLinks, ephemeralContainers: ephemeralContainers, hostAliases: hostAliases, hostIPC: hostIPC, hostNetwork: hostNetwork, hostPID: hostPID, hostname: hostname, imagePullSecrets: imagePullSecrets, initContainers: initContainers, nodeName: nodeName, nodeSelector: nodeSelector, overhead: overhead, preemptionPolicy: preemptionPolicy, priority: priority, priorityClassName: priorityClassName, readinessGates: readinessGates, restartPolicy: restartPolicy, runtimeClassName: runtimeClassName, schedulerName: schedulerName, securityContext: securityContext, serviceAccount: serviceAccount, serviceAccountName: serviceAccountName, shareProcessNamespace: shareProcessNamespace, subdomain: subdomain, terminationGracePeriodSeconds: terminationGracePeriodSeconds, tolerations: tolerations, topologySpreadConstraints: topologySpreadConstraints, volumes: volumes, } end |