Skip to content

Commit

Permalink
update game names
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Santana <[email protected]>
  • Loading branch information
csantanapr committed Oct 27, 2023
1 parent 02d63f8 commit 1b181fa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions patterns/gitops/getting-started-argocd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This example shows how to deploy Amazon EKS with addons configured via ArgoCD
Deploy EKS Cluster
```shell
terraform init
terraform apply
terraform apply -auto-approve
```

Get `kubectl` config, and run the output
Expand Down Expand Up @@ -46,11 +46,11 @@ kubectl get -n game-2048 ingress

Get the Ingress URL for the Application
```shell
kubectl get ingress
echo "Application URL: http://$(kubectl get -n game-2048 ingress ingress-2048 -o jsonpath='{.status.loadBalancer.ingress[0].hostname}')"
```
Verify Application on the Browser or Terminal
Verify Application from Terminal
```shell
curl ...
curl -I $(kubectl get -n game-2048 ingress ingress-2048 -o jsonpath='{.status.loadBalancer.ingress[0].hostname}')
```

Destroy EKS Cluster
Expand Down
16 changes: 8 additions & 8 deletions patterns/gitops/getting-started-argocd/k8s/game-2048.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ apiVersion: apps/v1
kind: Deployment
metadata:
namespace: game-2048
name: deployment-2048
name: game-2048
spec:
selector:
matchLabels:
app.kubernetes.io/name: app-2048
app.kubernetes.io/name: game-2048
template:
metadata:
labels:
app.kubernetes.io/name: app-2048
app.kubernetes.io/name: game-2048
spec:
containers:
- image: public.ecr.aws/l6m2t8p7/docker-2048
name: app-2048
name: game-2048
ports:
- containerPort: 80
name: http
Expand All @@ -29,7 +29,7 @@ apiVersion: v1
kind: Service
metadata:
namespace: game-2048
name: service-2048
name: game-2048
spec:
ports:
- name: http
Expand All @@ -38,13 +38,13 @@ spec:
protocol: TCP
type: ClusterIP
selector:
app.kubernetes.io/name: app-2048
app.kubernetes.io/name: game-2048
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
namespace: game-2048
name: ingress-2048
name: game-2048
annotations:
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip
Expand All @@ -57,6 +57,6 @@ spec:
pathType: Prefix
backend:
service:
name: service-2048
name: game-2048
port:
name: http

0 comments on commit 1b181fa

Please sign in to comment.