Comments (11)
As stated in documentation, you need to manually drain and remove node before downscaling a pool nodes.
I did not find a clean way to do it, using ssh on server node was leading to chaotic behavior.
I will be really happy if a clean implementation is proposed though ;)
from terraform-openstack-rke2.
@remche Yes, I've seen this. The issue is that even upgrades are not stable if there is no volume on agent nodes. Is there a reason/use case to use a non volume server or node?
from terraform-openstack-rke2.
@zifeo I did not manage to reproduce this issue. Can you provide a sanitized configuration ?
Is there a reason/use case to use a non volume server or node?
In my use case I only use ephemeral volume for VM w/o any problem.
from terraform-openstack-rke2.
@remche I have experimenting based on a different setup here, I will update if I find something stable and portable.
from terraform-openstack-rke2.
@zifeo Nice, do not hesitate to contribute back ;)
Would be very happy to find a clean autoscaling method !
from terraform-openstack-rke2.
As stated in documentation, you need to manually drain and remove node before downscaling a pool nodes.
This seems related to k3s-io/k3s#1264.
As for autoscaling, I would suggest something like orchestration_stack_v1 to keep a coherent Terraform state. This should work for simple autoscaling behaviours, but a custom/vanilla cloud provider could be written for advanced use cases.
from terraform-openstack-rke2.
As for autoscaling, I would suggest something like orchestration_stack_v1 to keep a coherent Terraform state. This should work for simple autoscaling behaviours, but a custom/vanilla cloud provider could be written for advanced use cases.
I came to the same conclusions. Using Heat stack seems pretty hacky to me, I would prefer a custom cluster-autoscaler but it's more work :)
from terraform-openstack-rke2.
@remche I will build a poc later to see how stable it could be. The issue with a custom autoscaler is the compatibility with the TF state. A remote & shared backend maybe but this seems even more hacky.
from terraform-openstack-rke2.
My first though would be to use a remote state supporting locking. But I'm not sure there is a way to retrieve current backend configuration in data sources...
from terraform-openstack-rke2.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from terraform-openstack-rke2.
@zifeo Nice, do not hesitate to contribute back ;)
Would be very happy to find a clean autoscaling method !
Node deletion seems stable so far. I am happy to bring https://github.com/zifeo/terraform-openstack-rke2 over (merge all here), but the expose module interface is rather different. What is your point of view on this? This is why I chose to start from scratch originally.
from terraform-openstack-rke2.
Related Issues (20)
- CI: remove DNS variables HOT 1
- Option for registries.yaml
- CI: doc generation broken HOT 2
- Octavia usage HOT 1
- "module.controlplane.null_resource.write_kubeconfig[0] (remote-exec): Waiting for rke2 to start" keeps looping for ever HOT 9
- Local Exec does not use specified ssh key HOT 1
- Strange hardcoded IPS in cloud-init template HOT 2
- Sensitive outputs? HOT 1
- Use cluster name for context
- Ability to use existing network HOT 2
- config.toml template and base64 HOT 2
- switch to Invicton-Labs/terraform-external-shell-resource HOT 5
- document how upgrades work HOT 4
- cloud-init.yml.tpl: operator precedence wrong on JQ installation magic. HOT 2
- Support for using existing networks and not using floating ip? HOT 3
- Cinder CSI won't start HOT 3
- Support creation of separated bastion host HOT 2
- Support load balancers to expose API HOT 7
- ssh_keypair_name and ssh_key_file variable logical conflict when write_kubeconfig is set true ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-openstack-rke2.