Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
| .git | |
| .gitignore | |
| /doc | |
| .yardoc | |
| coverage | |
| jsdoc | |
| /tmp | |
| /log | |
| Dockerfile | |
| Dockerfile.prod |
| ARG ASSET_HOST | |
| RUN bundle exec rake ASSET_HOST=${ASSET_HOST} RAILS_ENV=production assets:precompile |
belongs_to association does not automatically save the object. It does not save the associated object either.has_one association, that object is automatically saved (in order to update its foreign key).has_one association) is unsaved (that is, new_record? returns true) then the child objects are not saved. They will automatically when the parent object is saved.| ## Useful Commands | |
| Get kubectl version | |
| kubectl version | |
| Get cluster info: |
Picking the right architecture = Picking the right battles + Managing trade-offs
| # Some tools that make it easier to work with our templates | |
| brew install gettext --force | |
| brew install kubectl | |
| brew install kops | |
| brew install kubernetes-helm | |
| brew install terraform | |
| brew install awscli | |
| brew install jq | |
| awscli configure --profile kops |
| #!/bin/bash | |
| aws iam create-group --group-name kops | |
| aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonEC2FullAccess --group-name kops | |
| aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonS3FullAccess --group-name kops | |
| aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonRoute53FullAccess --group-name kops | |
| aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/IAMFullAccess --group-name kops | |
| aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonVPCFullAccess --group-name kops | |
| aws iam create-user --user-name kops |
| git clone https://github.com/vfarcic/k8s-specs.git | |
| cd k8s-specs | |
| git pull | |
| open "https://console.aws.amazon.com/iam/home#/security_credential" | |
| export AWS_ACCESS_KEY_ID=[...] |