-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenShift Support #75
Comments
@jsanchezmartinez thanks for opening this issue. By default this tool use AKS (as a Azure service) nodes. All nodes that AKS creates have
I never use OpenShift, but theoretically this tool can works on OpenShift nodes. Can you share some recipe how to build OpenShift cluster on Azure? I will try to create cluster on Azure, and try to run this tool on this nodes. |
Hi @maksim-paskal, |
@jsanchezmartinez can you reboot OpenShift server from Azure Portal (for example worker node) ? I create OpenShift cluster on Azure - but all operation with server are forbidden for my user (restriction I think was set while creating OpenShift cluster on resource group with OpenShift servers). I don't know how to test my changes. |
OpenShift VMs cannot be restarted when using Azure ARO. I can restart in some of our clusters, because are self managed. |
How you plan to use this tool? Are you plan to use Azure Spot? |
Yes. We are currently running spot instances and we want mainly to drain nodes when eviction events are detected. |
How can I add to OpenShift cluster spot instances? |
Basically, you have to pick an existing worker MachineSet, copy/paste it and adapt (https://learn.microsoft.com/en-us/azure/openshift/howto-spot-nodes).
|
Simulation API is not available for OpenShift servers, there are some restrictions on servers resource group . If you have OpenShift cluster with Spots, you can test my change in your cluster. OpenShift clusters have some restriction for pods that want to connect to helm upgrade aks-node-termination-handler \
--install \
--namespace kube-system \
https://github.com/maksim-paskal/aks-node-termination-handler/releases/download/v1.0.13/aks-node-termination-handler-1.1.5.tgz \
--set priorityClassName=system-node-critical \
--set image=paskalmaksim/aks-node-termination-handler:dev \
--set hostNetwork=true If you can test it, this will be awesome - after test I will release that feature. |
I'll try to test today or next Monday and come back. Thanks :) |
Let's watch. If something wrong happens, please describe that issue. I will release these changes next week (Thursday), if no issues are found. |
Azure offers [Red Hat OpenShift](https://azure.microsoft.com/en-us/products/openshift/), and clients can also deploy a self-managed cluster. The nodes of this cluster can handle the [Azure Metadata Service](https://learn.microsoft.com/en-us/azure/virtual-machines/linux/scheduled-events) in the same way as [AKS](https://azure.microsoft.com/en-us/products/kubernetes-service) managed nodes. The difference is that AKS uses `virtualMachineScaleSets`, while OpenShift and self-managed cluster uses `virtualMachines` for their nodes. This change can help Azure customers that use OpenShift or self-managed kubernetes clusters for their infrastucture. Closes: #75 Signed-off-by: Maksim Paskal <[email protected]>
This changes was released, please swith your
|
Hi,
When running in OpenShift, there are no VirtualMachineScaleSets (only VirtualMachines), and for that reason, the DaemonSet is crashing (attached logs below).
Can we request for OpenShift support?
The text was updated successfully, but these errors were encountered: