mirror of
https://github.com/optim-enterprises-bv/terraform-talos.git
synced 2025-11-01 18:58:39 +00:00
Openstack readme
This commit is contained in:
45
openstack/README.md
Normal file
45
openstack/README.md
Normal file
@@ -0,0 +1,45 @@
|
||||
# Talos on OVH Cloud
|
||||
|
||||
This terraform example to install Talos on [OpenStack](https://www.ovhcloud.com/en-ie/) with IPv4/IPv6 support.
|
||||
|
||||
Tested on openstack version - [Stein](https://docs.openstack.org/stein/index.html)
|
||||
* Nova
|
||||
* Glance
|
||||
* Neutron
|
||||
* Cinder
|
||||
|
||||
Local utilities
|
||||
|
||||
* terraform
|
||||
* talosctl
|
||||
* kubectl
|
||||
* yq
|
||||
|
||||
## Kubernetes addons
|
||||
|
||||
* [cilium](https://github.com/cilium/cilium) 1.11.4
|
||||
* [kubelet-serving-cert-approver](https://github.com/alex1989hu/kubelet-serving-cert-approver)
|
||||
* [metrics-server](https://github.com/kubernetes-sigs/metrics-server) 0.5.0
|
||||
* [rancher.io/local-path](https://github.com/rancher/local-path-provisioner) 0.0.19
|
||||
* [openstack-cloud-controller-manage](https://github.com/sergelogvinov/cloud-provider-openstack)
|
||||
|
||||
## Prepare the base image
|
||||
|
||||
```sh
|
||||
cd images
|
||||
wget https://github.com/siderolabs/talos/releases/download/v1.0.5/openstack-amd64.tar.gz
|
||||
tar -xzf openstack-amd64.tar.gz
|
||||
|
||||
terraform init && terraform apply
|
||||
```
|
||||
|
||||
## Prepare network
|
||||
|
||||
* folder prepare
|
||||
|
||||
open config file **terraform.tfvars** and add params.
|
||||
|
||||
```hcl
|
||||
```
|
||||
|
||||
## Install control plane
|
||||
@@ -118,7 +118,7 @@ spec:
|
||||
hostNetwork: true
|
||||
containers:
|
||||
- name: coredns
|
||||
image: coredns/coredns:1.8.7
|
||||
image: coredns/coredns:1.9.2
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
limits:
|
||||
|
||||
@@ -155,6 +155,11 @@ data:
|
||||
metadata:
|
||||
name: helper-pod
|
||||
spec:
|
||||
priorityClassName: system-node-critical
|
||||
tolerations:
|
||||
- key: node.kubernetes.io/disk-pressure
|
||||
operator: Exists
|
||||
effect: NoSchedule
|
||||
containers:
|
||||
- name: helper-pod
|
||||
image: busybox
|
||||
|
||||
@@ -40,8 +40,8 @@ resource "openstack_compute_instance_v2" "worker" {
|
||||
region = var.region
|
||||
name = "${var.instance_name}-${lower(var.region)}-${count.index + 1}"
|
||||
flavor_name = var.instance_flavor
|
||||
tags = var.instance_tags
|
||||
image_id = var.instance_image
|
||||
# tags = var.instance_tags
|
||||
image_id = var.instance_image
|
||||
|
||||
scheduler_hints {
|
||||
group = var.instance_servergroup
|
||||
|
||||
Reference in New Issue
Block a user