Deployment with replicas and resources not deploying specific resources in Azure

Anonymous
2023-11-11T18:28:28.3066667+00:00
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
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.