Skip to Content
Hands-On Microservices with Kubernetes
book

Hands-On Microservices with Kubernetes

by Gigi Sayfan
July 2019
Intermediate to advanced
502 pages
14h
English
Packt Publishing
Content preview from Hands-On Microservices with Kubernetes

TOML format

Enter TOML (https://github.com/toml-lang/toml)—Tom's Obvious Minimal Language. TOML is like an INI file on steroids. It is the least known of all the formats, but it has started to gain momentum since it is used by Cargo, Rust's package manager. TOML is between JSON and YAML on the expressiveness spectrum. It supports autodetected data types and comments, but it's not as powerful as YAML. That said, it is the easiest for humans to read and write. It supports nesting mostly via dot notation as opposed to indentation.

Here is an example of a TOML file; see how readable it is:

# This is how to comment in TOML.title = "A TOML Example"[owner]name = "Gigi Sayfan"dob = 1968-09-28T07:32:00-08:00 # First class dates# Simple section with ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Kubernetes Microservices

Kubernetes Microservices

Richard Chesterwood
Cloud Native DevOps with Kubernetes

Cloud Native DevOps with Kubernetes

John Arundel, Justin Domingus
Microservices: Up and Running

Microservices: Up and Running

Ronnie Mitra, Irakli Nadareishvili

Publisher Resources

ISBN: 9781789805468Supplemental Content