Harbor
<u>http://harbor.bicisims.com/harbor/projects</u>
admin/Harbor12345
kubesphere
<u>http://121.36.161.70:30880/</u>
xunxingzhe/Admin123
1.工作负载
①discover
kind: Deployment
apiVersion: apps/v1
metadata:
name: discover
namespace: pgxt-test
labels:
io.kompose.service: discover
annotations:
deployment.kubernetes.io/revision: '5'
kompose.cmd: kompose convert
kompose.version: 1.26.0 (40646f47)
kubesphere.io/creator: admin
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: discover
template:
metadata:
creationTimestamp: null
labels:
io.kompose.network/energy: 'true'
io.kompose.service: discover
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.0 (40646f47)
kubesphere.io/restartedAt: '2022-05-20T08:46:16.819Z'
spec:
containers:
- name: discover
image: 'harbor.bicisims.com/pgxt-test/pgxtmes-component-discover:latest'
ports:
- containerPort: 31001
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: Always
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
securityContext: {}
imagePullSecrets:
- name: harbor
schedulerName: default-scheduler
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
revisionHistoryLimit: 10
progressDeadlineSeconds: 600
②gateway
kind: Deployment
apiVersion: apps/v1
metadata:
name: gateway
namespace: pgxt-test
labels:
io.kompose.service: gateway
annotations:
deployment.kubernetes.io/revision: '11'
kompose.cmd: kompose convert
kompose.version: 1.26.0 (40646f47)
kubesphere.io/creator: admin
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: gateway
template:
metadata:
creationTimestamp: null
labels:
io.kompose.network/energy: 'true'
io.kompose.service: gateway
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.0 (40646f47)
kubesphere.io/restartedAt: '2022-05-20T08:56:06.051Z'
spec:
containers:
- name: gateway
image: 'harbor.bicisims.com/pgxt-test/pgxtmes-component-gateway:latest'
ports:
- containerPort: 31099
protocol: TCP
env:
- name: COMPONENT_DISCOVER_URL
value: 'http://discover.pgxt-test:31001/eureka/'
- name: EUREKA_INSTANCE_IP_ADDRESS
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.podIP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: Always
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
securityContext: {}
imagePullSecrets:
- name: harbor
schedulerName: default-scheduler
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
revisionHistoryLimit: 10
progressDeadlineSeconds: 600
③system-consumer
kind: Deployment
apiVersion: apps/v1
metadata:
name: system-consumer
namespace: pgxt-test
labels:
io.kompose.service: system-consumer
annotations:
deployment.kubernetes.io/revision: '7'
kompose.cmd: kompose convert
kompose.version: 1.26.0 (40646f47)
kubesphere.io/creator: admin
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: system-consumer
template:
metadata:
creationTimestamp: null
labels:
io.kompose.network/energy: 'true'
io.kompose.service: system-consumer
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.0 (40646f47)
kubesphere.io/restartedAt: '2022-05-20T09:30:55.232Z'
spec:
containers:
- name: system-consumer
image: 'harbor.bicisims.com/pgxt-test/pgxtmes-consumer-system:latest'
ports:
- containerPort: 32202
protocol: TCP
env:
- name: COMPONENT_DISCOVER_URL
value: 'http://discover.pgxt-test:31001/eureka/'
- name: EUREKA_INSTANCE_IP_ADDRESS
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.podIP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: Always
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
securityContext: {}
imagePullSecrets:
- name: harbor
schedulerName: default-scheduler
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
revisionHistoryLimit: 10
progressDeadlineSeconds: 600
④system-provider
kind: Deployment
apiVersion: apps/v1
metadata:
name: stock-provider
namespace: pgxt-test
labels:
io.kompose.service: stock-provider
annotations:
deployment.kubernetes.io/revision: '1'
kompose.cmd: kompose convert
kompose.version: 1.26.0 (40646f47)
kubesphere.io/creator: admin
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: stock-provider
template:
metadata:
creationTimestamp: null
labels:
io.kompose.network/energy: 'true'
io.kompose.service: stock-provider
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.0 (40646f47)
kubesphere.io/restartedAt: '2022-05-20T09:47:32.928Z'
spec:
containers:
- name: stock-provider
image: 'harbor.bicisims.com/pgxt-test/pgxtmes-provider-stock:latest'
ports:
- containerPort: 31205
protocol: TCP
env:
- name: COMPONENT_DISCOVER_URL
value: 'http://discover.pgxt-test:31001/eureka/'
- name: EUREKA_INSTANCE_IP_ADDRESS
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.podIP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: Always
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
securityContext: {}
imagePullSecrets:
- name: harbor
schedulerName: default-scheduler
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
revisionHistoryLimit: 10
progressDeadlineSeconds: 600
⑤Nginx-web
kind: Deployment
apiVersion: apps/v1
metadata:
name: nginx-web
namespace: pgxt-test
labels:
io.kompose.service: nginx-web
annotations:
deployment.kubernetes.io/revision: '10'
kompose.cmd: kompose convert
kompose.version: 1.26.0 (40646f47)
kubectl.kubernetes.io/last-applied-configuration: >
{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{"kompose.cmd":"kompose
convert","kompose.version":"1.26.0
(40646f47)"},"creationTimestamp":null,"labels":{"io.kompose.service":"nginx-web"},"name":"nginx-web","namespace":"default"},"spec":{"replicas":1,"selector":{"matchLabels":{"io.kompose.service":"nginx-web"}},"strategy":{"type":"Recreate"},"template":{"metadata":{"annotations":{"kompose.cmd":"kompose
convert","kompose.version":"1.26.0
(40646f47)"},"creationTimestamp":null,"labels":{"io.kompose.network/dp":"true","io.kompose.service":"nginx-web"}},"spec":{"containers":[{"image":"nginx:latest","name":"nginx-web","ports":[{"containerPort":80,"name":"java"},{"containerPort":81,"name":"static"}],"resources":{},"volumeMounts":[{"mountPath":"/etc/localtime","name":"timezone","readOnly":true},{"mountPath":"/etc/nginx/nginx.conf","name":"nginx-config","readOnly":true,"subPath":"nginx.conf"},{"mountPath":"/var/log/nginx","name":"nginx-web-log"},{"mountPath":"/opt/dist","name":"nginx-web-dist1","readOnly":true},{"mountPath":"/usr/share/nginx/html","name":"nginx-web-dist"}]}],"volumes":[{"hostPath":{"path":"/usr/share/zoneinfo/Asia/Shanghai"},"name":"timezone"},{"configMap":{"items":[{"key":"nginx.conf","path":"nginx.conf"}],"name":"nginx-config"},"name":"nginx-config"},{"name":"nginx-web-log","nfs":{"path":"/data/nginx-web/log","server":"192.168.0.190"}},{"name":"nginx-web-dist","nfs":{"path":"/data/nginx-web/dist","server":"192.168.0.190"}},{"name":"nginx-web-dist1","nfs":{"path":"/data/nginx-web/build","server":"192.168.0.190"}}]}}}}
kubesphere.io/creator: admin
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: nginx-web
template:
metadata:
creationTimestamp: null
labels:
io.kompose.network/nginx: 'true'
io.kompose.service: nginx-web
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.0 (40646f47)
kubesphere.io/restartedAt: '2022-05-20T09:21:04.979Z'
spec:
volumes:
- name: timezone
hostPath:
path: /usr/share/zoneinfo/Asia/Shanghai
type: ''
- name: nginx-config
configMap:
name: nginx-config
items:
- key: nginx.conf
path: nginx.conf
defaultMode: 420
- name: nginx-web-build
nfs:
server: 192.168.0.190
path: /data/nginx-web/pgxt/build
containers:
- name: nginx-web
image: 'nginx:latest'
ports:
- name: server
containerPort: 80
protocol: TCP
resources: {}
volumeMounts:
- name: timezone
readOnly: true
mountPath: /etc/localtime
- name: nginx-config
readOnly: true
mountPath: /etc/nginx/nginx.conf
subPath: nginx.conf
- name: nginx-web-build
mountPath: /usr/share/nginx/build/html
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: IfNotPresent
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
securityContext: {}
schedulerName: default-scheduler
strategy:
type: Recreate
revisionHistoryLimit: 10
progressDeadlineSeconds: 600
2.服务
①discover
kind: Service
apiVersion: v1
metadata:
name: discover
namespace: pgxt-test
labels:
app: discover
annotations:
kubesphere.io/creator: admin
spec:
ports:
- name: discover
protocol: TCP
port: 31001
targetPort: 31001
nodePort: 30621
selector:
io.kompose.network/energy: 'true'
io.kompose.service: discover
clusterIP: 10.96.7.13
clusterIPs:
- 10.96.7.13
type: NodePort
sessionAffinity: None
externalTrafficPolicy: Cluster
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
internalTrafficPolicy: Cluster
②Nginx-web
kind: Service
apiVersion: v1
metadata:
name: nginx-web
namespace: pgxt-test
labels:
app: nginx-web
annotations:
kubesphere.io/creator: admin
spec:
ports:
- name: http-web
protocol: TCP
port: 80
targetPort: 80
nodePort: 30480
selector:
io.kompose.network/nginx: 'true'
io.kompose.service: nginx-web
clusterIP: 10.96.244.71
clusterIPs:
- 10.96.244.71
type: NodePort
sessionAffinity: None
externalTrafficPolicy: Cluster
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
internalTrafficPolicy: Cluster
③gateway
kind: Service
apiVersion: v1
metadata:
name: gateway
namespace: pgxt-test
labels:
app: gateway
annotations:
kubesphere.io/creator: admin
spec:
ports:
- name: gateway
protocol: TCP
port: 31099
targetPort: 31099
selector:
io.kompose.service: gateway
clusterIP: 10.96.212.251
clusterIPs:
- 10.96.212.251
type: ClusterIP
sessionAffinity: None
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
internalTrafficPolicy: Cluster
3 应用路由
kind: Ingress
apiVersion: networking.k8s.io/v1
metadata:
name: pgxtmes
namespace: pgxt-test
annotations:
kubesphere.io/creator: admin
spec:
ingressClassName: nginx
rules:
- host: pgxtmes.bicitech.cn
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nginx-web
port:
number: 80
4 保密字典
①harbor
kind: Secret
apiVersion: v1
metadata:
name: harbor
namespace: pgxt-test
annotations:
kubesphere.io/creator: admin
secret.kubesphere.io/force-insecure: 'true'
data:
.dockerconfigjson: >-
eyJhdXRocyI6eyJodHRwOi8vaGFyYm9yLmJpY2lzaW1zLmNvbSI6eyJ1c2VybmFtZSI6ImFkbWluIiwicGFzc3dvcmQiOiJIYXJib3IxMjM0NSIsImVtYWlsIjoiIiwiYXV0aCI6IllXUnRhVzQ2U0dGeVltOXlNVEl6TkRVPSJ9fX0=
type: kubernetes.io/dockerconfigjson
②default-token-g4mxn
kind: Secret
apiVersion: v1
metadata:
name: default-token-g4mxn
namespace: pgxt-test
annotations:
kubernetes.io/service-account.name: default
kubernetes.io/service-account.uid: 69c66e88-9aea-49a7-8a11-7a6b2c319629
data:
ca.crt: >-
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1ETXhPREF4TlRZeE5Wb1hEVE15TURNeE5UQXhOVFl4TlZvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTlp4Ck9VcHVuMEtNRTlrSkV1K3MrbUVlZkl4K2E2bW96cGdyMDJYclJLdTIzWUdJQVB1dGwrTnpjc2pacDZtRHZMZXYKK2FTOHFaMENFVFdYdC96bk5FclViVEEwbEtaV0ZrQmRtNFZUNStHdzR1YzNGbG1VbVRIRnJlNkMvWXJZSXNrZgphWkU3M1FyZDV3cnZUZ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WFlWaHdFejZ0TTgyc3Z1aU1zNkxDdWVDRHBIWmNtNVl4aUR1VkhtUy1SUXg1MFd3NHFJdVk0bEk5VzNJb0hBSzVQM1NFZ3c=
type: kubernetes.io/service-account-token
5 配置字段
①nginx-config
kind: ConfigMap
apiVersion: v1
metadata:
name: nginx-config
namespace: pgxt-test
annotations:
kubesphere.io/creator: admin
data:
nginx.conf: |
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
#gzip on;
map $http_upgrade $connection_upgrade {
default keep-alive; #默认为keep-alive 可以支持 一般http请求
'websocket' upgrade; #如果为websocket 则为 upgrade 可升级的。
}
upstream gateway-service{
server gateway:31099;
}
server {
listen 80;
location / {
root /usr/share/nginx/build/html;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
index index.html;
try_files $uri $uri/ /index.html;
}
# 静态资源
location ~ .*\.(gif|jpg|jpeg|png|flac|mp3|mkv|apk)$ {
root /usr/share/nginx/build/html;
}
location /api {
proxy_connect_timeout 300;
proxy_read_timeout 300;
proxy_send_timeout 300;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://gateway-service/api;
client_max_body_size 20m;
}
}
}
②kube-root-ca.crt
kind: ConfigMap
apiVersion: v1
metadata:
name: kube-root-ca.crt
namespace: pgxt-test
annotations:
kubernetes.io/description: >-
Contains a CA bundle that can be used to verify the kube-apiserver when
using internal endpoints such as the internal service IP or
kubernetes.default.svc. No other usage is guaranteed across distributions
of Kubernetes clusters.
data:
ca.crt: |
-----BEGIN CERTIFICATE-----
MIIC/jCCAeagAwIBAgIBADANBgkqhk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