Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added autoscaling and 2 replicas #240

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions k8s/deployment.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Copyright (c) 2024 Isaac Adams
# Licensed under the MIT License. See LICENSE file in the project root for full license information.
---
apiVersion: v1
kind: Namespace
Expand All @@ -15,7 +13,6 @@ metadata:
app.kubernetes.io/name: crank
app.kubernetes.io/instance: crank
app.kubernetes.io/version: ${GITHUB_SHA}

spec:
replicas: 2
strategy:
Expand Down Expand Up @@ -114,7 +111,7 @@ spec:
app.kubernetes.io/name: crank
app.kubernetes.io/instance: crank
---
apiVersion: autoscaling/v2beta2
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: crank-hpa
Expand Down
Loading