What was that field in the manifest again?
$ kubectl explain statefulset.spec.template.spec
List contexts:
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| #ifdef _MSC_VER | |
| #include <intrin.h> /* for rdtscp and clflush */ | |
| #pragma optimize("gt",on) | |
| #else | |
| #include <x86intrin.h> /* for rdtscp and clflush */ | |
| #endif |
| ### | |
| # There's a newer version available here: | |
| # https://github.com/itaysk/kube-imagepuller | |
| # All future updates will be made there. | |
| # Please also post you questions as issues on that repo instead of commenting here | |
| ### | |
| apiVersion: apps/v1beta2 | |
| kind: DaemonSet |
| # | |
| # Allow users to read the istio config map | |
| # | |
| apiVersion: rbac.authorization.k8s.io/v1beta1 | |
| kind: Role | |
| metadata: | |
| name: istio-configmap-viewer | |
| namespace: istio-system | |
| rules: | |
| - resources: ["configmaps"] |
| set imap_user="[email protected]" | |
| set imap_pass=`/usr/bin/security find-generic-password -w -a '[email protected]' -s 'Gmail'` | |
| set folder=imaps://imap.gmail.com/ | |
| set spoolfile=+INBOX | |
| set record="+[Gmail]/Sent Mail" | |
| set postponed="+[Gmail]/Drafts" | |
| # https://www.neomutt.org/guide/reference search sleep_time for additional info | |
| set sleep_time=0 # be faster |
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: jump | |
| spec: | |
| containers: | |
| - name: busybox | |
| image: busybox | |
| command: | |
| - sleep |
Create file /etc/systemd/system/[email protected]. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin, you should use paths specific for your environment.
[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service