Created
May 17, 2019 22:23
-
-
Save jquinter/47f5a50715bfdc821bc58efd391a37e9 to your computer and use it in GitHub Desktop.
This is the setup I have tried on a fresh 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
name: openshifter-cluster # file base name wihtou .yml if not specified | |
bastion: false # Bastioned deployment, WIP, do not use | |
provider: gce | |
type: origin # origin or ocp | |
release: v3.6.1 # full version for Origin; for OCP master.minor is enough | |
installer: ansible # currently only Ansible | |
#rhsm: # subscription management for OCP | |
# username: <username> | |
# pool: <id> | |
# password: <password> | |
dns: | |
provider : nip # if you don't have a domain name, set provider to nip and remove zone and suffix | |
# zone: <zone name> # zone name depends on provider; if set to "nip" will use nip.io | |
# suffix: <domain name> # DNS to access cluster (console, *.apps).cluster-name.suffix | |
# Generate SSH key pair (see README file) | |
ssh: | |
key: openshift-key | |
components: | |
cockpit: false # if true, deploys Cockpit | |
metrics: false # if true, deploys Metrics | |
logging: false # if true, deploys Logging | |
pvs: false # enables PersistentVolumes | |
servicecatalog: false # if true, deploy service catalog | |
users: # creates user and associated project named as the user | |
- username: admin | |
password: password | |
admin: true # cluster-admin role | |
# - eventbrite: <event_id> | |
# password_type: username # Possible values: username, fixed (add password field) | |
- username: user | |
password: password | |
sudoer: true | |
execute: | |
- new-app mjelen/example # execute in the context of user project | |
- username: user | |
password: password | |
# Possible values: username(use the username), fixed (use password as it is), index (use password as prefix) | |
password_type: username | |
generic: true # generates user0 up to user3 with password0 up to password3 | |
min: 0 | |
max: 3 | |
pvs: # PVs always use hostPath | |
type: '' # if set to "gluster" will deploy gluster node and setup the hostPath into Gluster backed directory | |
size: 1 # Size of the generated PVs in GB | |
count: 1 # Generate 1 PV | |
nodes: | |
count: 1 # container nodes in the cluster | |
infra: false # separate master and infra | |
podsPerCore: 10 # how many pods can be on a node per core | |
type: n1-standard-1 # See a list of machine types: https://cloud.google.com/compute/docs/machine-types | |
disk: | |
boot: 100 # The boot disk in GB | |
docker: 100 # The docker storage disk in GB | |
execute: | |
- oc new-app mjelen/example # execute commands on master node | |
docker: | |
prime: # pre-pull images on all container nodes | |
- mjelen/example | |
# In case you want to autoprovision users from eventbrite | |
# eventbrite: | |
# token: <eventbrite_token> | |
gce: | |
account: *****SOMEID******.json | |
# See a list of regions & zones: https://cloud.google.com/compute/docs/regions-zones/regions-zones | |
region: us-west2 | |
zone: us-west2-b | |
project: *****SOMEID****** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment