Last active
March 9, 2021 08:53
-
-
Save itayB/bbe1cea5bcb7ed5ad04bb40d41399561 to your computer and use it in GitHub Desktop.
AWS locally
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: localstack | |
labels: | |
release: localstack | |
spec: | |
replicas: 1 | |
strategy: | |
type: RollingUpdate | |
rollingUpdate: | |
maxUnavailable: 0 | |
maxSurge: 1 | |
selector: | |
matchLabels: | |
release: localstack | |
template: | |
metadata: | |
labels: | |
release: localstack | |
spec: | |
containers: | |
- name: localstack | |
image: "localstack/localstack:0.12.2" | |
ports: | |
- name: http | |
containerPort: 4566 | |
protocol: TCP | |
env: | |
- name: HOSTNAME_EXTERNAL | |
value: "localstack.kube-system.svc.cluster.local" | |
- name: SERVICES | |
value: "s3" | |
resources: | |
limits: | |
cpu: 1000m | |
memory: 1024Mi | |
requests: | |
cpu: 1000m | |
memory: 512Mi | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: localstack | |
labels: | |
release: localstack | |
spec: | |
type: ClusterIP | |
selector: | |
release: localstack | |
ports: | |
- name: http | |
port: 4566 | |
protocol: TCP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment