Azure / Azure/aks-app-routing-operator

Is there a plan to add the ability to manually adjust the number of replicas on nginx controllers in app-routing-system?

Open
#177 9 comments 2 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
40
Forks
32
PR merge metrics
No merged PRs in 30d

Description

I modified the "aks-app-routing-operator" deployment to adjust the number of replica, but it was impossible.
```
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
creationTimestamp: "2024-03-12T08:23:16Z"
generation: 15
labels:
app.kubernetes.io/component: ingress-controller
app.kubernetes.io/managed-by: aks-app-routing-operator
app.kubernetes.io/name: nginx
name: nginx
namespace: app-routing-system
ownerReferences:
- apiVersion: approuting.kubernetes.azure.com/v1alpha1
controller: true
kind: NginxIngressController
name: default
uid: 6ea3e476-059e-44b3-9f8d-86655ee2a5dc
resourceVersion: "113876214"
uid: 37ea9332-baaf-47cf-aef4-f69d0ff2abef
spec:
progressDeadlineSeconds: 600
replicas: 2 <=============== I want to revise this
```

Currently, two nging controllers seem to be the default values.
```
kubectl get po -n app-routing-system
NAME READY STATUS RESTARTS AGE
nginx-5d4cbcf56b-nrt46 1/1 Running 0 40h
nginx-5d4cbcf56b-swq58 1/1 Running 0 40h
```

Is there a plan to add the ability to manually adjust the number of replica on the nginx controller?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the NginxIngressController resource and the nginx Deployment it manages in the app-routing-system namespace. Trace how the operator reconciles the deployment and determine where a replica setting could be accepted and preserved. Done means users can manually configure the controller replica count without the operator overwriting it.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.