You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/blog/hpe-greenlake-for-private-cloud-enterprise-scaling-and-orchestrating-modern-applications-for-the-enterprise.md
In my blog post on [HPE GreenLake for Private Cloud Enterprise: Deploying and scaling traditional applications](https://developer.hpe.com/blog/hpe-greenlake-for-private-cloud-enterprise-glpce-deploying-and-scaling-traditional-applications/), I highlighted how HPE GreenLake for Private Cloud Enterprise seamlessly integrates traditional applications with modern demands, transforming infrastructure into programmable code for optimal flexibility and security. Its strategic approach to scalability ensures businesses consistently operate at their best, making applications resilient to ever-changing requirements. In this post, I'll delve into the features and capabilities of HPE GreenLake for Private Cloud Enterprise, with a specific focus on its support for scaling containers using Kubernetes (K8s). Let's explore the advancements and offerings of the HPE GreenLake for Private Cloud Enterprise platform.
10
12
@@ -47,4 +49,47 @@ In essence, whether your workload requires the adaptable environment of VMs or t
47
49
**K8s in Action on HPE GreenLake for Private Cloud Enterprise**
48
50
In the evolving landscape of enterprise IT, scalability isn't just a luxury; it's a necessity. With HPE GreenLake for Private Cloud Enterprise and Kubernetes at its helm, businesses are equipped to meet dynamic demands head-on. When administrators first work with HPE GreenLake, they can manually allocate resources based on anticipated needs. But as traffic unpredictably rises, Kubernetes springs into action, enabling it to scale.
49
51
Kubernetes, with its sophisticated orchestration capabilities, monitors workloads in real-time on HPE GreenLake for Private Cloud Enterprise. Should traffic surge unexpectedly, Kubernetes autonomously scales containers, ensuring optimal performance without overburdening resources.
50
-
The combined prowess of manual fine-tuning with Kubernetes' automated scalability represents the future-forward approach of HPE GreenLake for Private Cloud Enterprise, promising enterprises reliability, efficiency, and adaptability all in one package.
52
+
The combined prowess of manual fine-tuning with Kubernetes' automated scalability represents the future-forward approach of HPE GreenLake for Private Cloud Enterprise, promising enterprises reliability, efficiency, and adaptability all in one package.
53
+
54
+
**Kubernetes Cluster blueprints:**
55
+
56
+

57
+
58
+
In screenshot 1, Kubernetes cluster blueprints in containers service serve as templates to simplify cluster deployments, including K8s setups. They set configurations like the Kubernetes version, storage class, and node details. Blueprints ensure consistent deployments and allow users to use standard templates or create their own for specific needs. Let me show you a concise demo on how to effortlessly configure clusters and optimize auto-scaling parameters!
59
+
60
+
**How to create K8s clusters and scale worker nodes (up or down) in a running cluster**
61
+
62
+

63
+
64
+
In screenshot 2 , I created a cluster. I selected configurations and resources, set parameters, and containers service provisions and initialized the cluster.
65
+
66
+
**Scaling worker nodes in containers service**: With containers service, you can scale worker nodes based on workload. You just increase or decrease the number of worker nodes in a running cluster to align with resource requirements.
67
+
68
+
**Autoscaler in Kubernetes clusters**
69
+
The Autoscaler adjusts the Kubernetes cluster's size based on specific conditions. It scales up when pods can't be scheduled due to resource limitations and scales down if nodes are underutilized for over 10 minutes.
70
+
71
+
**Key points:**
72
+
• Scaling range: Defined by a minimum and maximum node count. The range is between 1 and 200 nodes. By default, autoscaling is off with equal min-max values.
73
+
74
+
**Scaling criteria**:
75
+
76
+
1. Pending pods due to limited resources trigger a scale-up.
77
+
2. Underutilized nodes for 10 minutes prompt a scale-down, but certain conditions can prevent this:
78
+
• Recent scale-up within 10 minutes
79
+
• Failed scale-down in the last 3 minutes
80
+
• Nodes with critical pods or those facing specific constraints
81
+
3. Autoscaler operates from the control plane, checking conditions every minute.
1. Ensure the cluster is ready and familiarize yourself with autoscaler guidelines.
88
+
2. Navigate to HPE GreenLake for Private Cloud Enterprise > Containers > Selected Cluster.
89
+
3. Choose Scale from Actions.
90
+
4. Set the min-max node count values to either enable or disable autoscaling as shown in Screenshot 3.
91
+
5. Optionally, add or remove node pools.
92
+
6. To see the autoscaler logs, utilize the given kubectl command.
93
+
94
+
**Conclusion – The perfect synergy**
95
+
HPE GreenLake for Private Cloud Enterprise, in conjunction with Kubernetes, addresses a broad spectrum of enterprise applications. Whether dealing with brownfield applications that have evolved over time or greenfield applications that are freshly developed, this combination ensures seamless integration and deployment. containers service’s ability to scale resources up or down based on workload demands ensures that businesses can respond effectively to varying operational requirements. Additionally, the integrated framework provides a secure stack, reinforcing infrastructure integrity, governance, compliance, and application security. In essence, the union of HPE GreenLake for Private Cloud Enterprise and Kubernetes provides a comprehensive solution that caters to both existing and new enterprise applications, fostering a flexible, responsive, and secure environment.
0 commit comments