[Azure] Increase the Default Node Quota for ACI (#240)
* Increase the default quota for ACI provider * VK update the node capcity * VK update node IP addresses
This commit is contained in:
@@ -280,6 +280,13 @@ func (s *Server) updateNode() {
|
||||
|
||||
n.ResourceVersion = "" // Blank out resource version to prevent object has been modified error
|
||||
n.Status.Conditions = s.provider.NodeConditions()
|
||||
|
||||
capacity := s.provider.Capacity()
|
||||
n.Status.Capacity = capacity
|
||||
n.Status.Allocatable = capacity
|
||||
|
||||
n.Status.Addresses = s.provider.NodeAddresses()
|
||||
|
||||
n, err = s.k8sClient.CoreV1().Nodes().UpdateStatus(n)
|
||||
if err != nil {
|
||||
log.Println("Failed to update node:", err)
|
||||
|
||||
Reference in New Issue
Block a user