被Spring坑了一把,查看源码终于解决了DataFlow部署K8s应用的问题

requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
matchExpressions: key: beta.kubernetes.io/os
operator: In
values:
linux
containers:
name: php-apache
image: ‘pkslow/hpa-example:latest’
ports:
containerPort: 80
protocol: TCP
resources:
requests:
cpu: 200m
imagePullPolicy: IfNotPresent
这样设置是可以成功部署的。
修改 Data Flow 的配置如下:
spring:
cloud:
dataflow:
task:
platform:
kubernet

被Spring坑了一把,查看源码终于解决了DataFlow部署K8s应用的问题最先出现在Python成神之路

版权声明:
作者:Alex
链接:https://www.techfm.club/p/10025.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>