你知道为什么 nginx 没有开始使用 Knative 吗?
使用标准部署没问题:
kubectl create deployment nginx --image=nginx
但是使用 Knative 服务 - 存在问题:
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: service-web
namespace: default
spec:
template:
spec:
containers:
- image: nginx
ports:
- containerPort: 80
Kubectl 获取 ksvc:
Unknown RevisionMissing
kubectl 描述修订服务-web:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning InternalError 4m55s (x3 over 4m55s) revision-controller failed to update deployment "service-webb-qb4km-deployment": Operation cannot be fulfilled on deployments.apps "service-web-qb4km-deployment": the object has been modified; please apply your changes to the latest version and try again