flux reinstall
This commit is contained in:
parent
022c8a928c
commit
8dad41ec12
5 changed files with 5 additions and 10208 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -1,5 +0,0 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- gotk-components.yaml
|
||||
- gotk-sync.yaml
|
||||
|
|
@ -11,5 +11,6 @@ terraform {
|
|||
resource "flux_bootstrap_git" "this" {
|
||||
|
||||
embedded_manifests = true
|
||||
path = "clusters/gcloud-lab"
|
||||
path = "clusters/devops-lab"
|
||||
depends_on = [google_container_cluster.primary]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ resource "google_container_node_pool" "cluster" {
|
|||
cluster = google_container_cluster.primary.name
|
||||
|
||||
network_config {
|
||||
pod_range = "pod-ranges-ext"
|
||||
pod_range = "pod-ranges"
|
||||
}
|
||||
initial_node_count = 2
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ resource "google_compute_network" "default" {
|
|||
|
||||
resource "google_compute_subnetwork" "default" {
|
||||
name = "devops-lab-subnetwork"
|
||||
|
||||
|
||||
ip_cidr_range = "10.0.0.0/16"
|
||||
region = "us-central1"
|
||||
|
||||
|
|
@ -18,15 +18,11 @@ resource "google_compute_subnetwork" "default" {
|
|||
network = google_compute_network.default.id
|
||||
secondary_ip_range {
|
||||
range_name = "services-range"
|
||||
ip_cidr_range = "192.168.16.0/24"
|
||||
ip_cidr_range = "192.168.16.0/24"
|
||||
}
|
||||
|
||||
secondary_ip_range {
|
||||
range_name = "pod-ranges"
|
||||
ip_cidr_range = "192.168.32.0/20"
|
||||
}
|
||||
secondary_ip_range {
|
||||
range_name = "pod-ranges-ext"
|
||||
ip_cidr_range = "172.16.0.0/16"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue