1 Star 1 Fork 4

Bruce_GreatWang/demo-service2-supplier

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
demo-service2-supplier.yaml 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
Mooodo 提交于 2021-08-14 14:08 . change the version with timestamp
kind: Deployment
apiVersion: apps/v1
metadata:
labels:
app: demo-service2-supplier
name: demo-service2-supplier
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: demo-service2-supplier
template:
metadata:
name: demo-service2-supplier
labels:
app: demo-service2-supplier
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: "app"
operator: In
values:
- demo-service2-supplier
topologyKey: "kubernetes.io/hostname"
containers:
- name: demo-service2-supplier
image: repository:5000/demo-service2-supplier:<VERSION>
imagePullPolicy: Always
env:
- name: GIT_URL
value: "http://demo-service-config:9000"
- name: SW_AGENT_NAME
value: "demo-service2-supplier"
- name: SW_AGENT_COLLECTOR_BACKEND_SERVICES
value: "skywalking:11800"
---
kind: Service
apiVersion: v1
metadata:
labels:
app: demo-service2-supplier
name: demo-service2-supplier
namespace: default
spec:
ports:
- port: 9004
targetPort: 9004
selector:
app: demo-service2-supplier
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/bruce-greatwang/demo-service2-supplier.git
git@gitee.com:bruce-greatwang/demo-service2-supplier.git
bruce-greatwang
demo-service2-supplier
demo-service2-supplier
master

搜索帮助