This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
k8s-cluster-config/manifests/debug/istio/httpbin.yaml

82 lines
1.4 KiB
YAML
Raw Permalink Normal View History

2024-02-04 08:31:09 +00:00
---
apiVersion: v1
kind: Namespace
metadata:
labels:
kubernetes.io/metadata.name: debug
name: debug
---
# httpbin.yaml
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: httpbin
namespace: debug
spec:
hosts:
2024-02-08 18:58:31 +00:00
- "httpbin.badhouseplants.net"
2024-02-04 08:31:09 +00:00
gateways:
2024-02-08 18:58:31 +00:00
- istio-system/badhouseplants-net
2024-02-04 08:31:09 +00:00
http:
- route:
- destination:
port:
number: 8000
host: httpbin
---
2024-03-24 12:44:22 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: httpbin
namespace: debug
spec:
rules:
2024-06-15 10:20:06 +00:00
- host: "httpbin.badhouseplants.net"
2024-03-24 12:44:22 +00:00
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: httpbin
port:
number: 8000
---
2024-02-04 08:31:09 +00:00
apiVersion: v1
kind: Service
metadata:
name: httpbin
namespace: debug
labels:
app: httpbin
spec:
ports:
- name: http
port: 8000
selector:
app: httpbin
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: httpbin
namespace: debug
spec:
replicas: 1
selector:
matchLabels:
app: httpbin
version: v1
template:
metadata:
labels:
app: httpbin
version: v1
spec:
containers:
- image: docker.io/citizenstig/httpbin
imagePullPolicy: IfNotPresent
name: httpbin
ports:
- containerPort: 8000