The output: The request is Invalid: patch: invalid value ....
Then at the end: Strict decoding error: unknown field "volumeClaimTemplates"
I can't get the formatting right. I am copying and pasting the code block but then have to manually reformat each line in vim . I can't get the hang of it.
Everytime I run the kubectl apply command, there is a decoding error on different fields I fix one field but then there's another field error.
Help!
First, the volumeClaimTemplates block is indented at the highest level and should be inline with values like count, config, and so on under the nodeSets block.
Overall though, it looks like at least one example had some bad indentation so the entire lab is going be reviewed and corrected.
I have taken the example from the documentation (Lesson 3, Step 6) and wrapped it in a cat EOF wrapper that should let you copy this block and deploy it from the CLI only. See if this works, I tested it myself earlier...you can also paste the entire thing into a yaml file and trim the top and bottom lines if you think thats easier to iterate on.
Good luck and don't sleep on using kubectl explain es.spec.etc.etc to see fields and hierarchy explained. Great for checking which level things go and what they are.
That helped enormously, I'm new to this so appreciate the tips. Yeah, I thought it was weird I was copying the example code block in the training and still getting it wrong. Thanks again.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.