terraform常用providers

Terraform Registry 官网

https://registry.terraform.io/browse/providers?product_intent=terraform

kubernetes

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs

用于与 Kubernetes 支持的资源进行交互

provider "kubernetes" {
    
    
  // kubeconfig 文件
  config_path    = "~/.kube/config"
  // 上下文
  config_context = "my-context"
}

namespace

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/namespace

工作负载

Deployment

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/deployment

job

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/job

服务与路由

service

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/service

配置

kubernetes_config_map

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map

secret

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/secret

time

用于在特定的生命周期动作期间执行动作
https://registry.terraform.io/providers/hashicorp/time/latest/docs

猜你喜欢

转载自blog.csdn.net/xyc1211/article/details/130428109