You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'.
Consider something like:
| # First, we need to find our device. BEFORE inserting your USB drive, run the | |
| # following: | |
| diskutil list | |
| # This will output a bunch of info about all of the disk drives connected to | |
| # your Mac. Each entry will have a header in the form "/dev/diskX", where X is | |
| # some number starting at 0. Now, insert your USB drive and run the command | |
| # again. You should see a new entry. Make note of the name (ie, /dev/diskX). | |
| diskutil list |
| This is free and unencumbered software released into the public domain. | |
| Anyone is free to copy, modify, publish, use, compile, sell, or | |
| distribute this software, either in source code form or as a compiled | |
| binary, for any purpose, commercial or non-commercial, and by any | |
| means. | |
| In jurisdictions that recognize copyright laws, the author or authors | |
| of this software dedicate any and all copyright interest in the | |
| software to the public domain. We make this dedication for the benefit |
| # To deploy: kubectl create -f nginx-hello-world-deployment.yaml | |
| # Access it with the API as a proxy: | |
| # $ kubectl proxy | |
| # Then in you browser: http://localhost:8001/api/v1/namespaces/default/services/nginx:/proxy/#!/ | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: nginx | |
| spec: |
| --- | |
| kind: StorageClass | |
| apiVersion: storage.k8s.io/v1 | |
| metadata: | |
| annotations: | |
| storageclass.kubernetes.io/is-default-class: "true" | |
| name: vcd-disk-dev | |
| provisioner: named-disk.csi.cloud-director.vmware.com | |
| reclaimPolicy: Delete | |
| parameters: |
| kind: ConfigMap | |
| apiVersion: v1 | |
| metadata: | |
| name: nginx-config | |
| namespace: nginx-ingress | |
| data: | |
| worker-processes: "1" | |
| log-format: '[$time_local] $remote_addr "$request" $status "$upstream_response_time"' |
| #!/bin/bash | |
| # | |
| # DESCRIPTION: | |
| # | |
| # Set the bash prompt according to: | |
| # * the active virtualenv | |
| # * the branch of the current git/mercurial repository | |
| # * the return value of the previous command | |
| # * the fact you just came from Windows and are used to having newlines in | |
| # your prompts. |