Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "We're doing two things in this command – first, we are running gcloud secrets versions access latest --secret=flask-app-secret
to access the contents of the secret, and then we are piping it directly to kubectl apply -f -
."
A block of code is set as follows:
... spec: containers: - image: '<your_docker_user>/flask-app-secret:1' name: flask-app ports: - containerPort: 5000 env: - name: SECRET valueFrom: secretKeyRef: name: flask-app-secret key: SECRET
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Click Flash from Etcher to write the image."
Any command-line input or output is written as follows:
$ git clone https://github.com/PacktPublishing/Modern-DevOps-\ Practices.git modern-devops $ cd modern-devops/ch7
Tips or important notes
Appear like this.