Skip to content

Commit

Permalink
Update k8s cluster (#67)
Browse files Browse the repository at this point in the history
* Update k8s cluster

Bug: T373093

* k8s 1.27

* auto update of  tag

---------

Co-authored-by: Github Action <[email protected]>
  • Loading branch information
vivian-rook and Github Action authored Aug 26, 2024
1 parent ecf332a commit 176e8f2
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 7 deletions.
4 changes: 2 additions & 2 deletions helm-quarry/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
web:
repository: 'quay.io/wikimedia-quarry/quarry'
tag: pr-61 # web tag managed by github actions
tag: pr-67 # web tag managed by github actions

worker:
repository: 'quay.io/wikimedia-quarry/quarry'
tag: pr-61 # worker tag managed by github actions
tag: pr-67 # worker tag managed by github actions
5 changes: 0 additions & 5 deletions tofu/124.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ resource "openstack_containerinfra_cluster_v1" "k8s_124" {
node_count = 2
}

resource "local_file" "kube_config" {
content = resource.openstack_containerinfra_cluster_v1.k8s_124.kubeconfig.raw_config
filename = "kube.config"
}

resource "openstack_containerinfra_clustertemplate_v1" "template_124" {
name = "quarry-124"
coe = "kubernetes"
Expand Down
40 changes: 40 additions & 0 deletions tofu/127a.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
resource "openstack_containerinfra_cluster_v1" "k8s_127a" {
name = "quarry-127a"
cluster_template_id = resource.openstack_containerinfra_clustertemplate_v1.template_127a.id
master_count = 1
node_count = 2
}

resource "local_file" "kube_config" {
content = resource.openstack_containerinfra_cluster_v1.k8s_127a.kubeconfig.raw_config
filename = "kube.config"
}

resource "openstack_containerinfra_clustertemplate_v1" "template_127a" {
name = "quarry-127a"
coe = "kubernetes"
dns_nameserver = "8.8.8.8"
docker_storage_driver = "overlay2"
docker_volume_size = 20
external_network_id = "wan-transport-eqiad"
fixed_subnet = "cloud-instances2-b-eqiad"
fixed_network = "lan-flat-cloudinstances2b"
flavor = "g4.cores4.ram8.disk20"
floating_ip_enabled = "false"
image = "Fedora-CoreOS-38"
master_flavor = "g4.cores2.ram4.disk20"
network_driver = "calico"

labels = {
kube_tag = "v1.27.8-rancher2"
container_runtime = "containerd"
containerd_version = "1.6.28"
containerd_tarball_sha256 = "f70736e52d61e5ad225f4fd21643b5ca1220013ab8b6c380434caeefb572da9b"
cloud_provider_tag = "v1.27.3"
cinder_csi_plugin_tag = "v1.27.3"
k8s_keystone_auth_tag = "v1.27.3"
magnum_auto_healer_tag = "v1.27.3"
octavia_ingress_controller_tag = "v1.27.3"
calico_tag = "v3.26.4"
}
}

0 comments on commit 176e8f2

Please sign in to comment.