Deployment with replicas and resources not deploying specific resources in Azure
Anonymous
I tried to add Deployment with replicas in Azure. I added resources but it's always taking 4 CPU and 15Gi Memory.
Below is the deployed yml.
apiVersion: apps/v1
kind: Deployment
metadata:
name: test
namespace: test-cf-ns
spec:
replicas: 3
selector:
matchLabels:
app: test-cf
template:
metadata:
labels:
app: test-cf
spec:
nodeSelector:
kubernetes.io/os: linux
containers:
- image: adobecoldfusion/coldfusion2021:latest
name: test-cf
imagePullPolicy: Always
resources:
limits:
cpu: 2
memory: 8Gi
requests:
cpu: 2
memory: 8Gi
Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,447 questions
Sign in to answer