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
set nocompatible | |
" because we don't need vi compatibility, and want our backspace key to work | |
" install vim-plug first https://github.com/junegunn/vim-plug/wiki/tips#automatic-installation | |
if empty(glob('~/.vim/autoload/plug.vim')) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | |
endif |
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
NodeLaunchTemplate: | |
Type: 'AWS::EC2::LaunchTemplate' | |
Properties: | |
LaunchTemplateData: | |
BlockDeviceMappings: | |
- DeviceName: /dev/sda1 | |
Ebs: | |
DeleteOnTermination: true | |
VolumeSize: !Ref NodeVolumeSize | |
VolumeType: gp2 |
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: eksctl.io/v1alpha5 | |
kind: ClusterConfig | |
metadata: | |
name: eksctl-us-west-2-managed | |
region: us-west-2 | |
vpc: | |
id: vpc-0b953326cd7a2f917 | |
subnets: |
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
#!/usr/bin/env bash | |
function curl-options(){ | |
curl -sL "$@" | |
} | |
## pre-configure | |
OS=$(uname -s | tr '[:upper:]' '[:lower:]') | |
ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" && |