This file contains hidden or 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: Pod | |
| metadata: | |
| name: debug | |
| spec: | |
| #hostNetwork: true | |
| #hostPID: true | |
| containers: | |
| - image: metral/debug:0.0.2 | |
| command: |
This file contains hidden or 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: extensions/v1beta1 | |
| kind: DaemonSet | |
| metadata: | |
| name: debug | |
| labels: | |
| app: debug | |
| spec: | |
| updateStrategy: | |
| rollingUpdate: | |
| maxUnavailable: 1 |
This file contains hidden or 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: extensions/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| name: debug | |
| labels: | |
| name: debug | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: |
This file contains hidden or 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
| # MIT License | |
| # | |
| # Copyright (c) 2016 Samuel Rounce | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: |
This file contains hidden or 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
| { | |
| "swaggerVersion": "1.2", | |
| "apiVersion": "apps/v1", | |
| "basePath": "/api/v1", | |
| "info": { | |
| "title": "", | |
| "description": "" | |
| }, | |
| "apis": [ | |
| { |
This file contains hidden or 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
| # install notes for ubuntu 14.04 / odroid xu4 | |
| sudo apt-get install libgmp3-dev | |
| # dont apt-get StrongSwan! (its really old) | |
| wget https://download.strongswan.org/strongswan-5.5.1.tar.bz2 | |
| tar xvfj strongswan-5.5.1.tar.bz2 | |
| cd strongswan-5.5.1 | |
| sudo ./configure --prefix=/usr --sysconfdir=/etc --enable-python-eggs --enable-python-eggs-install --enable-vici | |
| sudo make | |
| sudo make install |
This file contains hidden or 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
| import * as awsx from "@pulumi/awsx"; | |
| import * as eks from "@pulumi/eks"; | |
| import * as k8s from "@pulumi/kubernetes"; | |
| const name = "test001" | |
| // Pull in existing VPC | |
| const vpc = awsx.Network.fromVpc(name, | |
| { | |
| vpcId: "vpc-<ID0>", |
This file contains hidden or 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: Pod | |
| metadata: | |
| name: debug | |
| spec: | |
| #hostNetwork: true | |
| #hostPID: true | |
| containers: | |
| - image: metral/debug:latest | |
| command: |
This file contains hidden or 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
| $ aws ec2 describe-images --filters Name=description,Values=*linux*,*Linux* Name=name,Values=*amazon-eks-node* Name=manifest-location,Values=*amazon-eks-node-* Name=description,Values=*k8s*1.12* --owners 602401143452 | |
| { | |
| "Images": [ | |
| { | |
| "Architecture": "x86_64", | |
| "CreationDate": "2019-03-30T00:32:52.000Z", | |
| "ImageId": "ami-0abcb9f9190e867ab", | |
| "ImageLocation": "602401143452/amazon-eks-node-1.12-v20190329", | |
| "ImageType": "machine", |
This file contains hidden or 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
| $ aws ec2 describe-images --filters Name=description,Values=*linux*,*Linux* Name=name,Values=*amazon-eks-node* Name=manifest-location,Values=*amazon-eks-node-* Name=description,Values=*k8s*1.12* --owners 602401143452 | |
| { | |
| "Images": [ | |
| { | |
| "Architecture": "x86_64", | |
| "CreationDate": "2019-03-30T00:32:52.000Z", | |
| "ImageId": "ami-0abcb9f9190e867ab", | |
| "ImageLocation": "602401143452/amazon-eks-node-1.12-v20190329", | |
| "ImageType": "machine", |