Eric977 commented on PR #116:
URL: https://github.com/apache/ozone-site/pull/116#issuecomment-2556964983
the command
`kubectl apply -f .`
result in the following error:
`error: error validating "kustomization.yaml": error validating data:
[apiVersion not set, kind not set]; if you choose to ignore these errors, turn
validation off with --validate=false`
To resolve this issue, replace the command with:
`kubectl apply -k .`
The issue and its solution are discussed in detail in [this GitHub
issue](https://github.com/kubernetes-sigs/kustomize/issues/738).
Currently, I am testing the documentation in my local environment (wsl on
window) and have encountered some additional issues. It seems that the latest
release (1.4.1) has no corresponding Docker image, which results in pod
initialization failures.
After switching to version 1.4.0, I encounter the following error and am
still investigating:
```root@DESKTOP-UHVDC0I:~/project/ozone-1.4.0/kubernetes/examples/ozone#
sudo kubectl get pod
NAME READY STATUS RESTARTS AGE
datanode-0 0/1 Error 8 (2m8s ago) 13m
datanode-1 0/1 Pending 0 16m
om-0 1/1 Running 8 (5m44s ago) 17m
s3g-0 1/1 Running 0 17m
scm-0 0/1 Init:Error 8 (2m49s ago) 13m```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]