| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Bug squashing
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Set --hostname flag in node config in openshift_node role
- Support some additional node attributes in openshift_node role
- podCIDR
- labels
- annotations
- Support both output types for openshift ex config view in
openshift_register_node module
- Support multiple api versions in openshift_register_node module
- Support additional attributes in openshift_register_node module
- annotations
- labels
- pod_cidr
- external_ips (v1beta3, will be available after next kube rebase)
- internal_ips (v1beta3, will be available after next kube rebase)
- hostnames (v1beta3, will be available after next kube rebase)
- external_id (v1beta3, will be available after next kube rebase)
|
|/
|
|
|
| |
- always set hostname if hostname does not match openshift_hostname
- Use local IP instead of public IP as hostname for workaround
|
|\
| |
| | |
Renamed AnsibleUtil to AwsUtil. Fixed bug in AwsUtil for hosts without environment set.
|
| | |
|
| |
| |
| |
| | |
environment set.
|
|/ |
|
|\
| |
| | |
Add workaround for openshift-master startup timeout
|
| | |
|
|\ \
| |/
|/| |
Update openshift_register_node module for changes in .kubeconfig format ...
|
|/
|
|
| |
following latest kubernetes rebase
|
|\
| |
| | |
added opssh
|
|/ |
|
|\
| |
| | |
Fix AWS playbooks
|
| | |
|
|\ \
| | |
| | | |
Allow for overriding node resources
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- add variable openshift_node_resources to openshift_node role
- set default value for openshift_node_resources to
{ capacity: { cpu: ,memory: }}
- If cpu is not set, then the default value will be chosen by the
openshift_register_node module (num logical cpus)
- If memory is not set, then the default value will be chosen by the
openshift_register_node module (75% MemTotal according to /proc/meminfo)
|
|\ \ \
| |/ /
|/| | |
fixed github repo name in READMEs
|
|/ / |
|
|\ \
| | |
| | | |
Explicitely use python2
|
| | |
| | |
| | |
| | |
| | | |
Some distributions are using python3 as the default python.
On those ones, we need to explicitely use python2.
|
|\ \ \
| | | |
| | | | |
Random cleanup
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Conditionally set --nodes on master
|
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
- only add --nodes option to /etc/sysconfig/openshift-master when
openshift_node_ips is not an empty list.
|
|\ \ \ \
| | | | |
| | | | | |
Fix permissions on .kube folder
|
| |/ / /
| | | |
| | | |
| | | | |
- missing leading 0 on mode
|
|\ \ \ \
| | | | |
| | | | | |
os_firewall fixes
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Fix variable references to os_firewall_{allow,deny} instead of {allow, deny}
- Fix ordering of service stop/start to ensure firewall rules are properly
initiated after service startup
- Add test for package installed before attempting to disable or mask services
|
|\ \ \ \
| |/ / /
|/| | | |
fixed bug in new ec2.py destination_format code
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
fixing os_firewall issues
|
|/ / /
| | |
| | |
| | |
| | | |
- Fix missed references to old firewall scripts
- Fix variable name references that didn't get updated
|
|\ \ \
| | | |
| | | | |
Fix issues with openshift_sdn_node
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
- Use openshift_hostname (set from openshift_common) instead of calculating it
again using the openshift_common variables
- Fix the task setting facts for openshift_sdn_node that was using references
to master instead
|
|\ \ \
| | | |
| | | | |
openshift_register_node module fixes
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Set parameters resources and cpu/memory as mutually exclusive
- Add parameters for setting the client_user, client_context and client_cluster
- This allows the module to ensure it is using the proper context for operation
- Node resources weren't properly being registered
- wrapped node definition object in a config object to rectify
- Reduce default to 75% Total Memory instead of 80%
- Don't bother running osc create node if node is already in osc get nodes
output
|
|\ \ \
| | | |
| | | | |
Do not set KUBECONFIG for root user
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
- instead of setting KUBECONFIG, copy the admin kubeconfig to
/root/.kube/.kubeconfig in the openshift_master and openshift_node roles
- pause for 30 seconds if the openshift-master service has changed state,
since the file we are copying is generated by the master
|
|\ \ \
| |/ /
|/| | |
Provide default value for openshift_node_ips.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- openshift_node_ips now defaults to []
- Previously an empty --nodes in /etc/sysconfig/master would result in the
master creating a node for the localhost. The latest Origin and OSE builds
now only create the implicit localhost node if run as openshift, not
openshift-master. We can now safely default to setting no nodes in
/etc/sysconfig/master and having nodes register themselves with the master
when they come up via the 'Register node (if not already registered)' task
in roles/openshift_node/tasks/main.yml)
- This had an associated change for the byo scripts that had not been merged
into master yet, but this PR changes the behavior of the openshift_master
role to not fail if openshift_node_ips is not set. This also prevents having
the openshift_master service restarted when a node is added.
|
|\ \
| | |
| | | |
Add iptables firewall support to openshift-common
|
| | |
| | |
| | |
| | | |
sets environment configs for root user
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Add os_firewall role
- Remove firewall settings from base_os, add wait task to os_firewall
- Added a iptables firewall module for maintaining the following (in a mostly
naive manner):
- ensure the OPENSHIFT_ALLOW chain is defined
- ensure that there is a jump rule in the INPUT chain for OPENSHIFT_ALLOW
- adds or removes entries from the OPENSHIFT_ALLOW chain
- issues '/usr/libexec/iptables/iptables.init save' when rules are changed
- Limitations of iptables firewall module
- only allows setting of ports/protocols to open
- no testing on ipv6 support
- made os_firewall a dependency of openshift_common
- Hardcoded openshift_common to use iptables (through the vars directory)
until upstream support is in place for firewalld
|
|/ / |
|
|\ \
| | |
| | | |
Add flexible destination format string to ec2.py
|
| | |
| | |
| | |
| | |
| | | |
This allows us to construct hostnames from a format string
plus ec2 tag values.
|
|/ / |
|