This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.gist{color:#333; | |
/*! | |
* GitHub Light v0.4.1 | |
* Copyright (c) 2012 - 2017 GitHub, Inc. | |
* Licensed under MIT (https://github.com/primer/github-syntax-theme-generator/blob/master/LICENSE) | |
*/direction:ltr;font-size:16px;text-align:left}.gist .markdown-body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:16px;line-height:1.5;word-wrap:break-word}.gist .markdown-body:before{content:"";display:table}.gist .markdown-body:after{clear:both;content:"";display:table}.gist .markdown-body>:first-child{margin-top:0!important}.gist .markdown-body>:last-child{margin-bottom:0!important}.gist .markdown-body a:not([href]){color:inherit;text-decoration:none}.gist .markdown-body .absent{color:#cb2431}.gist .markdown-body .anchor{float:left;line-height:1;margin-left:-20px;padding-right:4px}.gist .markdown-body .anchor:focus{outline:none}.gist .markdown-body blockquote,.gist .markdown-body details,.gist .markdown-body dl,.gist .markdow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@k3s-server:~# kubectl get nodes | |
NAME STATUS ROLES AGE VERSION | |
k3s-node1 Ready <none> 40s v1.13.4-k3s.1 | |
k3s-server Ready <none> 108s v1.13.4-k3s.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
imagePullSecrets: | |
- name: deploycred | |
containers: | |
- name: myapp | |
image: gitlab.mycompany.com:4567/my/project/my-app-arm:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: docker:stable | |
stages: | |
- build | |
- release | |
variables: | |
DOCKER_DRIVER: overlay2 | |
CONTAINER_TEST_IMAGE: ${CI_REGISTRY_IMAGE}/${CI_PROJECT_NAME}-arm:${CI_COMMIT_REF_SLUG} | |
CONTAINER_RELEASE_IMAGE: ${CI_REGISTRY_IMAGE}/${CI_PROJECT_NAME}-arm:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory | |
curl -sfL https://get.k3s.io | sh - | |
curl -sfL https://get.k3s.io | K3S_TOKEN=<token_from_server> K3S_URL=https://<server_ip>:6443 sh - | |
docker run --rm --privileged multiarch/qemu-user-static:register --reset | |
docker run --rm --privileged multiarch/qemu-user-static:register --reset | |
docker build -t my-custom-image-arm . -f Dockerfile.arm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM arm32v7/alpine:latest | |
COPY --from=biarms/qemu-bin /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static | |
# commands to build your app go here… | |
# e.g. RUN apk add --update <pkgs that you need…> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.gist .gist-file .gist-meta { | |
display: none !important; | |
} | |
td.js-line-number { | |
display: none !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: my-web-app | |
spec: | |
ports: | |
- name: http | |
port: 80 | |
protocol: TCP | |
targetPort: 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
namespace: metallb-system | |
name: config | |
data: | |
config: | | |
address-pools: | |
- name: company-office | |
protocol: layer2 |
NewerOlder