remove kong

This commit is contained in:
DeveloperDurp 2023-04-08 15:33:57 -05:00
parent 14353b1854
commit c476887707
5 changed files with 132 additions and 129 deletions

View file

@ -1,58 +1,59 @@
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: kong
name: kong
labels:
app: kong
spec:
selector:
matchLabels:
app: kong
#replicas: 1
template:
metadata:
labels:
app: kong
spec:
containers:
- name: kong
image: kong
imagePullPolicy: Always
resources:
limits:
cpu: 1000m
requests:
cpu: 100m
env:
- name: KONG_DATABASE
value: 'off'
- name: KONG_NGINX_WORKER_PROCESSES
value: "1"
- name: KONG_LOG_LEVEL
value: notice
- name: KONG_ADMIN_ACCESS_LOG
value: /dev/stdout
- name: KONG_PROXY_ERROR_LOG
value: /dev/stderr
- name: KONG_ADMIN_ERROR_LOG
value: /dev/stderr
- name: KONG_ADMIN_LISTEN
value: '127.0.0.1:8001'
- name: KONG_PROXY_LISTEN
value: 0.0.0.0:8000,0.0.0.0:8443 ssl
- name: KONG_DECLARATIVE_CONFIG
value: /kong/config.yaml
volumeMounts:
- name: kongconfig
mountPath: /kong
ports:
- name: data-http
containerPort: 8000
ports:
- name: data-https
containerPort: 8443
volumes:
- name: kongconfig
configMap:
name: kongconfig
#apiVersion: apps/v1
#kind: Deployment
#metadata:
# namespace: kong
# name: kong
# labels:
# app: kong
#spec:
# selector:
# matchLabels:
# app: kong
# #replicas: 1
# template:
# metadata:
# labels:
# app: kong
# spec:
# containers:
# - name: kong
# image: kong
# imagePullPolicy: Always
# resources:
# limits:
# cpu: 1000m
# requests:
# cpu: 100m
# env:
# - name: KONG_DATABASE
# value: 'off'
# - name: KONG_NGINX_WORKER_PROCESSES
# value: "1"
# - name: KONG_LOG_LEVEL
# value: notice
# - name: KONG_ADMIN_ACCESS_LOG
# value: /dev/stdout
# - name: KONG_PROXY_ERROR_LOG
# value: /dev/stderr
# - name: KONG_ADMIN_ERROR_LOG
# value: /dev/stderr
# - name: KONG_ADMIN_LISTEN
# value: '127.0.0.1:8001'
# - name: KONG_PROXY_LISTEN
# value: 0.0.0.0:8000,0.0.0.0:8443 ssl
# - name: KONG_DECLARATIVE_CONFIG
# value: /kong/config.yaml
# volumeMounts:
# - name: kongconfig
# mountPath: /kong
# ports:
# - name: data-http
# containerPort: 8000
# ports:
# - name: data-https
# containerPort: 8443
# volumes:
# - name: kongconfig
# configMap:
# name: kongconfig
#