istio improvements
This commit is contained in:
parent
d7ad6c44bd
commit
97addda5f4
13 changed files with 388 additions and 7 deletions
|
|
@ -20,6 +20,13 @@ spec:
|
|||
containers:
|
||||
- name: testapp-srv
|
||||
image: 127.0.0.1:5000/testapp/srv:v1
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 64Mi
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
|
@ -28,6 +35,8 @@ apiVersion: v1
|
|||
kind: Service
|
||||
metadata:
|
||||
name: testapp-srv
|
||||
labels:
|
||||
app: testapp-srv
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
|
|
@ -36,7 +45,6 @@ spec:
|
|||
selector:
|
||||
app: testapp-srv
|
||||
---
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue