openshift-ansible | repository contains Ansible roles and playbooks to install
kandi X-RAY | openshift-ansible Summary
kandi X-RAY | openshift-ansible Summary
This repository contains Ansible roles and playbooks to install, upgrade, and manage OpenShift clusters. Note: the Ansible playbooks in this repository require an RPM package that provides docker. Currently, the RPMs from dockerproject.org do not provide this requirement, though they may in the future. This limitation is being tracked by #2720.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Run ansible
- Run OpenShift command
- Wrapper for subprocess
- Create a new editor from content
- Run Ansible
- Check if the config needs update
- Gets the object from the server
- Return True if the file exists
- Run ansible volume
- Run deprecation checks
- Load a certificate and handle it
- Return a dict of all the instances in the given zone
- Initialize AnsibleModule
- Parse OpenSSL certificates
- Guess host provider
- Perform node group checks
- Runs AnsibleModule
- Parse OpenSSL certificate SAN
- Return a list of available packages
- Verify that the installed packages match expected_pkgs_dict
- Executor for atomic containers
- Check the size of an etcd key
- Generate facts
- Return a summary of the certificates
- Run generate scripts
- Display the status of all phases
openshift-ansible Key Features
openshift-ansible Examples and Code Snippets
Community Discussions
Trending Discussions on openshift-ansible
QUESTION
I have deployed openshift(okd) 3.11 using : https://github.com/openshift/openshift-ansible/tree/release-3.11 I would want to extend the validity of all the certificates to 5 years or more.
I have tried set following variables in the inventory:
...ANSWER
Answered 2020-Nov-24 at 19:22These certificates are always generated for one year and are automatically rotated. You can force redeployment by redeploying a new CA by using the -e openshift_redeploy_openshift_ca=true
flag as described in the documentation:
Redeploying Node Certificates
By default, node certificates are valid for one year. OKD automatically rotates node certificates when they get close to expiring. If automatic approval is not configured, you must manually approve the certificate signing requests (CSRs).
If you need to redeploy certificates because the CA certificate was changed, you can use the
playbooks/redeploy-certificates.yml
playbook with the-e openshift_redeploy_openshift_ca=true
flag. See Redeploying All Certificates Using the Current OpenShift Container Platform and etcd CA for details. When running this playbook, the CSRs are automatically approved.
As far as I know, since this is an automatic process, you cannot change the validity period to be different from 1 year. Make sure you are using openshift_master_bootstrap_auto_approve=true
to make the renewal automatic.
QUESTION
I am installing Openshift 3.11 version cluster on my Centos 7.8 VMS. The configuration is that there are there are three Centos VMs (one master node + two worker nodes). I have configured my inventory file also and 'prerequisites.yml' playbook also ran successfully. But when I am running the playbook 'deploy_cluster.yml', then it is generating errors as follows ----
...ANSWER
Answered 2020-Jun-23 at 17:41Copied from comments (as this seems to have been the issue):
So it seems that the repoquery is looking for "origin-3.11.0*". What is the output when you run yum search origin-3.11.0*? I am guessing that this will not find anything, check if the correct YUM repositories are attached.
It seems that you are mixing OpenShift versions, you have the 3.9 repository attached but are trying to install 3.11. You'll need to attach the 3.11 repository. I would recommend that you refer to the official documentation for the installation: https://docs.okd.io/3.11/install/index.html
QUESTION
I'm trying to install Openshift Origin with Ansible. I got an issue when execute deploy_cluster.yml and the error is :
...ANSWER
Answered 2020-Feb-18 at 07:44Solved ! Move my environment to higher specifications. I saw some logs show that the resources I use before 1vcpu and RAM 2GB (Master + Infra1, Compute 1) => Recording NodeHasSufficientResources in /var/log/messages
.
Currently, I use 2vcpu and RAM 8GB (Master + Infra 1, Compute 1) and works well !
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install openshift-ansible
Jinja >= 2.7
pyOpenSSL
python-lxml
java-1.8.0-openjdk-headless
patch
httpd-tools
OpenShift Container Platform
OpenShift Origin
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page