We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[root@master naftis]# kubectl apply -n naftis -f mysql.yaml persistentvolume/naftis-pv unchanged secret/naftis-mysql unchanged configmap/naftis-mysql-initialization unchanged configmap/naftis-mysql-test unchanged persistentvolumeclaim/naftis-mysql unchanged service/naftis-mysql unchanged pod/naftis-mysql-test configured error: unable to recognize "mysql.yaml": no matches for kind "Deployment" in version "v1"
The text was updated successfully, but these errors were encountered:
哥,怎么办,进行不下去了
Sorry, something went wrong.
k8s1.6下,解决了,改为: apiVersion: apps/v1 kind: Deployment
spec: selector: matchLabels: app: naftis-mysql
No branches or pull requests
[root@master naftis]# kubectl apply -n naftis -f mysql.yaml
persistentvolume/naftis-pv unchanged
secret/naftis-mysql unchanged
configmap/naftis-mysql-initialization unchanged
configmap/naftis-mysql-test unchanged
persistentvolumeclaim/naftis-mysql unchanged
service/naftis-mysql unchanged
pod/naftis-mysql-test configured
error: unable to recognize "mysql.yaml": no matches for kind "Deployment" in version "v1"
The text was updated successfully, but these errors were encountered: