Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/concepts/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ I0408 05:35:22.865279 1 log.go:172] http: TLS handshake error from 127.0.0
Those logs are harmless and are caused by AWS ELBs opening TCP connections to `kube-apiserver` to probe for availability, without performing a full TLS handshake. Unfortunately, AWS ELBs do not support TLS for probe requests at the time of writing.

There is ongoing [upstream](https://github.com/kubernetes/kubernetes/pull/91277) work to resolve this issue.

## Flatcar Linux Customization

Flatcar Container Linux deployments on AWS can be customized with Container Linux Configs.
For more information, see [Flatcar Container Linux Customization](/docs/concepts/flatcar-container-linux.md#Customization).
34 changes: 34 additions & 0 deletions docs/concepts/flatcar-container-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,37 @@ Kubelet mount points on Flatcar Container Linux:
| /etc/resolv.conf | /etc/resolv.conf | |
| /opt/cni/bin | /opt/cni/bin | |

### Customization

Flatcar Container Linux can be customized via [Container Linux Configs](https://docs.flatcar-linux.org/container-linux-config-transpiler/doc/examples/) (CLC)
that are interpreted by [Ignition](https://docs.flatcar-linux.org/ignition/what-is-ignition/) (see some [examples](https://github.com/coreos/container-linux-config-transpiler/blob/master/doc/examples.md)).

Lokomotive supports defining CLC snippets for clusters running on Packet and AWS.
CLC snippets can be defined both for controllers and for workers with `controller_clc_snippets` in the
controller definition, and `clc_snippets` for the worker pool definition.

An example CLC snippet:

```hcl
controller_clc_snippets = [
file("./snippet/controller-snippet.yaml"),
]
```

`clc_snippets` and `controller_clc_snippets` also accept inline text:

```hcl
clc_snippets = [
<<EOF
systemd:
units:
- name: helloworld.service
dropins:
- name: 10-helloworld.conf
contents: |
[Install]
WantedBy=multi-user.target
EOF
,
]
```
5 changes: 5 additions & 0 deletions docs/concepts/packet.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@ spec:
- ipBlock:
cidr: 0.0.0.0/0
```

## Flatcar Linux Customization

Flatcar Container Linux deployments on Packet can be customized with Container Linux Configs.
For more information, see [Flatcar Container Linux Customization](/docs/concepts/flatcar-container-linux.md#Customization).