Name Last Update
modules Loading commit data...
README.md Loading commit data...
icon.svg Loading commit data...
main.tf Loading commit data...
outputs.tf Loading commit data...
variables.tf Loading commit data...

Requirements

Name Version
kubectl 1.14.0

Providers

Name Version
kubernetes n/a

Modules

Name Source Version
deployment ./modules/deployment/kubernetes n/a
ingress ./modules/ingress/kubernetes n/a
service ./modules/service/kubernetes n/a

Resources

Name Type
kubernetes_service.service data source

Inputs

Name Description Type Default Required
domain_name 域名 string n/a yes
env Name and value pairs to set as the environment variables map(string) {} no
image Docker image name string n/a yes
limit_cpu CPU limit. e.g. 0.5, 1, 2 string "0.5" no
limit_memory Memory limit. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi string "512Mi" no
name Name of the deployment resource. Auto-generated if empty. string "" no
namespace Namespace to deploy. Auto-generated if empty. string "default" no
path 访问路径 string "/" no
path_type Path type for ingress rule string "ImplementationSpecific" no
port Service ports to expose string "7777" no
probe_http_path (Optional)http path for probe string "/" no
probe_http_port (Optional)http port for probe string "7777" no
replicas Replicas to deploy number 1 no
request_cpu CPU request. e.g. 0.5, 1, 2 string "0.1" no
request_memory Memory request. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi string "128Mi" no
restart_policy Restart policy for all containers within the pod. One of Always, OnFailure, Never string "Always" no
walrus_metadata_namespace_name Walrus metadata namespace name. string "" no
walrus_metadata_service_name Walrus metadata service name. string "" no

Outputs

Name Description
ingress 访问入口ingress
ports Service Ports
service_ip Service IP