Skip to content

Instantly share code, notes, and snippets.

@eparis
Created July 29, 2015 15:09
Show Gist options
  • Save eparis/2323ddba3a9fc08267e2 to your computer and use it in GitHub Desktop.
Save eparis/2323ddba3a9fc08267e2 to your computer and use it in GitHub Desktop.

WARNING WARNING WARNING WARNING WARNING

PLEASE NOTE: This document applies to the HEAD of the source tree

If you are using a released version of Kubernetes, you should refer to the docs that go with that version.

The latest 1.0.x release of this document can be found [here](http://releases.k8s.io/release-1.0/docs/BAD.md).

Documentation for other releases can be found at releases.k8s.io.

Header

With stuff right after

my link

SOME OTHER HEADER

WITH A SUBHEADER

#cloud-config

---
write-files:
  - path: /etc/conf.d/nfs
    permissions: '0644'
    content: |
      OPTS_RPC_MOUNTD=""
  - path: /opt/bin/wupiao
    permissions: '0755'
    content: |
      #!/bin/bash
      # [w]ait [u]ntil [p]ort [i]s [a]ctually [o]pen
      [ -n "$1" ] && \
        until curl -o /dev/null -sIf http://${1}; do \
          sleep 1 && echo .;
        done;
      exit $?

Download example

Analytics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment