Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

Latest commit

 

History

History
39 lines (26 loc) · 741 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 741 Bytes

App Setup

From the ngsa-memory directory in this repo

# set temporary Log Analytics secrets
kubectl create secret generic log-secrets \
  --from-literal=WorkspaceId=dev \
  --from-literal=SharedKey=dev

# display the secrets (base 64 encoded)
kubectl get secret log-secrets -o jsonpath='{.data}'

# deploy ngsa-memory app
kubectl apply -f ngsa-memory.yaml

# check pods until running
kubectl get pods

# check local logs
kubectl logs ngsa-memory

# check the version and genres endpoints
http $PIP:30080/version
http $PIP:30080/api/genres

# check logs
kubectl logs ngsa-memory

# delete ngsa-memory
kubectl delete -f ngsa-memory.yaml

# check pods
kubectl get pods

# Result - No resources found in default namespace.