Removed HPAs
This commit is contained in:
parent
f3cb290d7b
commit
89e8a2768f
@ -1,73 +1,73 @@
|
||||
|
||||
apiVersion: autoscaling/v2beta2
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: mastodon-web
|
||||
namespace: mastodon
|
||||
labels:
|
||||
app.kubernetes.io/name: mastodon
|
||||
app.kubernetes.io/instance: "k8s.social"
|
||||
app.kubernetes.io/component: web
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: mastodon-web
|
||||
minReplicas: 2
|
||||
maxReplicas: 6
|
||||
metrics:
|
||||
- type: Resource
|
||||
resource:
|
||||
name: cpu
|
||||
target:
|
||||
averageUtilization: 80
|
||||
type: Utilization
|
||||
---
|
||||
apiVersion: autoscaling/v2beta2
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: mastodon-sidekiq
|
||||
namespace: mastodon
|
||||
labels:
|
||||
app.kubernetes.io/name: mastodon
|
||||
app.kubernetes.io/instance: "k8s.social"
|
||||
app.kubernetes.io/component: sidekiq
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: mastodon-sidekiq
|
||||
minReplicas: 2
|
||||
maxReplicas: 6
|
||||
metrics:
|
||||
- type: Resource
|
||||
resource:
|
||||
name: cpu
|
||||
target:
|
||||
averageUtilization: 80
|
||||
type: Utilization
|
||||
---
|
||||
apiVersion: autoscaling/v2beta2
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: mastodon-streaming
|
||||
namespace: mastodon
|
||||
labels:
|
||||
app.kubernetes.io/name: mastodon
|
||||
app.kubernetes.io/instance: "k8s.social"
|
||||
app.kubernetes.io/component: streaming
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: mastodon-streaming
|
||||
minReplicas: 2
|
||||
maxReplicas: 6
|
||||
metrics:
|
||||
- type: Resource
|
||||
resource:
|
||||
name: cpu
|
||||
target:
|
||||
averageUtilization: 80
|
||||
type: Utilization
|
||||
---
|
||||
# apiVersion: autoscaling/v2beta2
|
||||
# kind: HorizontalPodAutoscaler
|
||||
# metadata:
|
||||
# name: mastodon-web
|
||||
# namespace: mastodon
|
||||
# labels:
|
||||
# app.kubernetes.io/name: mastodon
|
||||
# app.kubernetes.io/instance: "k8s.social"
|
||||
# app.kubernetes.io/component: web
|
||||
# spec:
|
||||
# scaleTargetRef:
|
||||
# apiVersion: apps/v1
|
||||
# kind: Deployment
|
||||
# name: mastodon-web
|
||||
# minReplicas: 2
|
||||
# maxReplicas: 6
|
||||
# metrics:
|
||||
# - type: Resource
|
||||
# resource:
|
||||
# name: cpu
|
||||
# target:
|
||||
# averageUtilization: 80
|
||||
# type: Utilization
|
||||
# ---
|
||||
# apiVersion: autoscaling/v2beta2
|
||||
# kind: HorizontalPodAutoscaler
|
||||
# metadata:
|
||||
# name: mastodon-sidekiq
|
||||
# namespace: mastodon
|
||||
# labels:
|
||||
# app.kubernetes.io/name: mastodon
|
||||
# app.kubernetes.io/instance: "k8s.social"
|
||||
# app.kubernetes.io/component: sidekiq
|
||||
# spec:
|
||||
# scaleTargetRef:
|
||||
# apiVersion: apps/v1
|
||||
# kind: Deployment
|
||||
# name: mastodon-sidekiq
|
||||
# minReplicas: 2
|
||||
# maxReplicas: 6
|
||||
# metrics:
|
||||
# - type: Resource
|
||||
# resource:
|
||||
# name: cpu
|
||||
# target:
|
||||
# averageUtilization: 80
|
||||
# type: Utilization
|
||||
# ---
|
||||
# apiVersion: autoscaling/v2beta2
|
||||
# kind: HorizontalPodAutoscaler
|
||||
# metadata:
|
||||
# name: mastodon-streaming
|
||||
# namespace: mastodon
|
||||
# labels:
|
||||
# app.kubernetes.io/name: mastodon
|
||||
# app.kubernetes.io/instance: "k8s.social"
|
||||
# app.kubernetes.io/component: streaming
|
||||
# spec:
|
||||
# scaleTargetRef:
|
||||
# apiVersion: apps/v1
|
||||
# kind: Deployment
|
||||
# name: mastodon-streaming
|
||||
# minReplicas: 2
|
||||
# maxReplicas: 6
|
||||
# metrics:
|
||||
# - type: Resource
|
||||
# resource:
|
||||
# name: cpu
|
||||
# target:
|
||||
# averageUtilization: 80
|
||||
# type: Utilization
|
||||
# ---
|
||||
|
@ -68,6 +68,7 @@ metadata:
|
||||
configmap.reloader.stakater.com/reload: "mastodon-env"
|
||||
secret.reloader.stakater.com/reload: "mastodon"
|
||||
spec:
|
||||
replicas: 5
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: mastodon
|
||||
@ -138,6 +139,7 @@ metadata:
|
||||
configmap.reloader.stakater.com/reload: "mastodon-env"
|
||||
secret.reloader.stakater.com/reload: "mastodon"
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: mastodon
|
||||
@ -220,6 +222,7 @@ metadata:
|
||||
configmap.reloader.stakater.com/reload: "mastodon-env"
|
||||
secret.reloader.stakater.com/reload: "mastodon"
|
||||
spec:
|
||||
replicas: 4
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: mastodon
|
||||
|
Loading…
Reference in New Issue
Block a user