Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and so on. Here is an example: “Let’s delete the old nginx-deployment
that we created at the beginning of this chapter.”
A block of code is set as follows:
apiVersion: v1 kind: PersistentVolumeClaim metadata: name: kcna-pv-claim spec: storageClassName: standard accessModes: - ReadWriteOnce resources: requests: storage: 3Gi
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
Normal Scheduled 85s default-scheduler Successfully assigned kcna/liveness-exec to minikube Normal Pulled 81s kubelet Successfully pulled image "k8s.gcr.io/busybox" in 3.4078911s Warning Unhealthy 41s (x3 over 51s) kubelet Liveness probe failed: cat: can't open '/tmp/healthy': No such file or directory Normal Killing 41s kubelet Container liveness failed liveness probe, will be restarted Normal Pulling 11s (x2 over 85s) kubelet Pulling image "k8s.gcr.io/busybox"
Bold: Indicates a term, an important word, or words. For instance, major points can appear in bold.
Tips or important notes
Appear like this