Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 736 Bytes

03-counter-demo-app.md

File metadata and controls

44 lines (34 loc) · 736 Bytes

Demo App

App deploy on k8s

Clone the demo app repo:

git clone https://github.com/kumahq/kuma-counter-demo.git

For every zone cluster:

kubectl apply -f demo.yaml

Kong Ingress

install kong: https://github.com/kumahq/kuma-counter-demo/blob/master/kong.yaml

Create an ingress for demo app

echo "apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: demo-ingress
  namespace: kuma-demo
  annotations:
    konghq.com/strip-path: 'true'
spec:
  ingressClassName: kong
  rules:
  - http:
      paths:
      - path: /
        pathType: ImplementationSpecific
        backend:
          service:
            name: demo-app
            port: 
              number: 5000" | kubectl apply -f -