pe-deployment
- kind: Deployment
- apiVersion: apps/v1
- metadata:
- name: pe-deployment
- namespace: default
- labels:
- app: pe
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: pe
- template:
- metadata:
- labels:
- app: pe
- spec:
- containers:
- - name: pe
- image: 'pe:20210531'
- ports:
- - containerPort: 3001
- protocol: TCP
============ 欢迎各位老板打赏~ ===========
与本文相关的文章
- · Linux安装NFS
- · k3s+kuboard快速搭建K8s生产环境集群
- · 部署docker+k3s+rancher2
- · 部署k3s+KubeSphere
- · es+filebeat+elastalert2实现异常邮件提醒
- · centos7安装k8s集群(2022版)
- · k8s之Service
- · k8s之PersistentVolume&PersistentVolumeClaim
- · k8s之ReplicationController
- · k8s deployment with persistentVolume
- · k8s之java-deployment
- · k8s之mongo-deployment