关于“使用 Terraform 部署 Kubernetes 负载均衡器 Service”的评价

57768 条评价

Sathish V. · 已于 over 7 years前审核

Alex K. · 已于 over 7 years前审核

Alex K. · 已于 over 7 years前审核

The content is out of date. Kubernetes engine has it's own tab on the left menu and navigating to the nginx ingress path has changed.

Andrew S. · 已于 over 7 years前审核

brandon n. · 已于 over 7 years前审核

Alejandro R. · 已于 over 7 years前审核

Titan L. · 已于 over 7 years前审核

Daniel J. · 已于 over 7 years前审核

Multiple warnings & errors during terraform plan. Re-ran OK, after terraform instructions amended. ----------------------------------------------------------------------------------------- Warning: Value for undeclared variable on terraform.tfvars line 1: 1: gke_username = "admin" The root module does not declare a variable named "gke_username". To use this value, add a "variable" block to the configuration. Using a variables file to set an undeclared variable is deprecated and will become an error in a future release. If you wish to provide certain "global" settings to all configurations in your organization, use TF_VAR_... environment variables to set these instead. Warning: Value for undeclared variable on terraform.tfvars line 2: 2: gke_password = "aXvKkpgsLLITiK0n7G8NYQ==" The root module does not declare a variable named "gke_password". To use this value, add a "variable" block to the configuration. Using a variables file to set an undeclared variable is deprecated and will become an error in a future release. If you wish to provide certain "global" settings to all configurations in your organization, use TF_VAR_... environment variables to set these instead. Error: Unsupported block type on k8s.tf line 27, in resource "kubernetes_service" "nginx": 27: selector { Blocks of type "selector" are not expected here. Did you mean to define argument "selector"? If so, use the equals sign to assign it a value. Error: Unsupported block type on k8s.tf line 49, in resource "kubernetes_replication_controller" "nginx": 49: labels { Blocks of type "labels" are not expected here. Did you mean to define argument "labels"? If so, use the equals sign to assign it a value. Error: Missing required argument on k8s.tf line 54, in resource "kubernetes_replication_controller" "nginx": 54: spec { The argument "selector" is required, but no definition was found. Error: Unsupported block type on k8s.tf line 55, in resource "kubernetes_replication_controller" "nginx": 55: selector { Blocks of type "selector" are not expected here. Did you mean to define argument "selector"? If so, use the equals sign to assign it a value. ----------------------------------------------------------------------------------------- I tried updating to the latest version of terraform (0.12.3), but the error still occurs.

Paul R. · 已于 over 7 years前审核

Pratik K. · 已于 over 7 years前审核

Federico Adrian C. · 已于 over 7 years前审核

Multiple warnings & errors during terraform plan. ----------------------------------------------------------------------------------------- Warning: Value for undeclared variable on terraform.tfvars line 1: 1: gke_username = "admin" The root module does not declare a variable named "gke_username". To use this value, add a "variable" block to the configuration. Using a variables file to set an undeclared variable is deprecated and will become an error in a future release. If you wish to provide certain "global" settings to all configurations in your organization, use TF_VAR_... environment variables to set these instead. Warning: Value for undeclared variable on terraform.tfvars line 2: 2: gke_password = "aXvKkpgsLLITiK0n7G8NYQ==" The root module does not declare a variable named "gke_password". To use this value, add a "variable" block to the configuration. Using a variables file to set an undeclared variable is deprecated and will become an error in a future release. If you wish to provide certain "global" settings to all configurations in your organization, use TF_VAR_... environment variables to set these instead. Error: Unsupported block type on k8s.tf line 27, in resource "kubernetes_service" "nginx": 27: selector { Blocks of type "selector" are not expected here. Did you mean to define argument "selector"? If so, use the equals sign to assign it a value. Error: Unsupported block type on k8s.tf line 49, in resource "kubernetes_replication_controller" "nginx": 49: labels { Blocks of type "labels" are not expected here. Did you mean to define argument "labels"? If so, use the equals sign to assign it a value. Error: Missing required argument on k8s.tf line 54, in resource "kubernetes_replication_controller" "nginx": 54: spec { The argument "selector" is required, but no definition was found. Error: Unsupported block type on k8s.tf line 55, in resource "kubernetes_replication_controller" "nginx": 55: selector { Blocks of type "selector" are not expected here. Did you mean to define argument "selector"? If so, use the equals sign to assign it a value. ----------------------------------------------------------------------------------------- I tried updating to the latest version of terraform (0.12.3), but the error still occurs.

Paul R. · 已于 over 7 years前审核

Kari H. · 已于 over 7 years前审核

Mark C. · 已于 over 7 years前审核

Neethu M. · 已于 over 7 years前审核

Need more info on the terraform syntax and constructs used

Paras B. · 已于 over 7 years前审核

Datum R. · 已于 over 7 years前审核

Janice S. · 已于 over 7 years前审核

Bichu V. · 已于 over 7 years前审核

Kevin Varughese G. · 已于 over 7 years前审核

hwang h. · 已于 over 7 years前审核

ANTHONY M. · 已于 over 7 years前审核

Nidhin P. · 已于 over 7 years前审核

Lukasz S. · 已于 over 7 years前审核

Jerome H. · 已于 over 7 years前审核

我们无法确保发布的评价来自已购买或已使用产品的消费者。评价未经 Google 核实。