openshift-ansible | Install and config an OpenShift 3.x cluster

 by   openshift Python Version: openshift-ansible-3.11.1081-1 License: Apache-2.0

kandi X-RAY | openshift-ansible Summary

kandi X-RAY | openshift-ansible Summary

openshift-ansible is a Python library typically used in Devops, Ansible applications. openshift-ansible has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can download it from GitHub.

This repository contains Ansible roles and playbooks for OpenShift clusters.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              openshift-ansible has a medium active ecosystem.
              It has 2127 star(s) with 2331 fork(s). There are 141 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 2753 have been closed. On average issues are closed in 445 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of openshift-ansible is openshift-ansible-3.11.1081-1

            kandi-Quality Quality

              openshift-ansible has 0 bugs and 0 code smells.

            kandi-Security Security

              openshift-ansible has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              openshift-ansible code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              openshift-ansible is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              openshift-ansible releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed openshift-ansible and discovered the below as its top functions. This is intended to give you an instant insight into openshift-ansible implemented functionality, and help decide if they suit your requirements.
            • Set the value for a boolean flag
            • Commit changes to semanage
            • Disconnect from semanage
            • Begin a semanage transaction
            • Run AnsibleModule
            • Run node discovery
            • Return a list of node names
            • Check if node is ready
            • DEPRECATED
            • Deprecated
            • Recursive search search
            • Deprecated Use include directive
            • Process command
            • Fix file lines
            • Parse value
            • Check if two values are equal
            • Create a new configuration file
            • Update section line
            • Run linter
            • Check if a boolean value exists
            • Set boolean value
            • Get the bool value of a boolean
            • Find all OpenShift_ansible
            Get all kandi verified functions for this library.

            openshift-ansible Key Features

            No Key Features are available at this moment for openshift-ansible.

            openshift-ansible Examples and Code Snippets

            OpenShift-Ansible Integration Lab,4 Write the Ansible Operator,4.2 Finish the
            Pythondot img1Lines of Code : 57dot img1License : Strong Copyleft (GPL-3.0)
            copy iconCopy
            cat $LAB/mysql-operator/roles/mysqlbackup/tasks/main.yml
            
            - name: Create ad-hoc mysqlbackup objects
              k8s:
                state: present
                definition: "{{ lookup('template', item.name) | from_yaml }}"
              loop:
                - name: pvc.yml.j2
                - name: job.yml.j2
              wh  
            aos-cd-jobs,Jenkins pipeline definitions under
            Pythondot img2Lines of Code : 20dot img2License : Permissive (Apache-2.0)
            copy iconCopy
            ├── build-scripts
            │   └── …
            ├── Jenkinsfile
            ├── jobs
            │   …
            │   └── build
            │       └── openshift-scripts
            │           ├── Jenkinsfile
            │           ├── REA  
            Development Deployment,Developing With OpenShift Ansible
            Godot img3Lines of Code : 18dot img3no licencesLicense : No License
            copy iconCopy
            [OSEv3:children]
            masters
            nodes
            etcd
            
            [OSEv3:vars]
            ansible_become=true
            ansible_ssh_user=centos
            openshift_deployment_type=origin
            openshift_release="3.10"
            oreg_url=openshift/origin-${component}:v3.10.0
            openshift_aws_ami=ami-833d37f9
            
            [masters]
            
            [etcd]
            
              

            Community Discussions

            QUESTION

            How to extend the validity of openshift kublet-server, kublet-client certificates of all the nodes?
            Asked 2020-Nov-24 at 19:22

            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:22

            These 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.

            Source https://stackoverflow.com/questions/64993166

            QUESTION

            Openshift 3 installation issue
            Asked 2020-Jun-23 at 17:41

            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:41

            Copied 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

            Source https://stackoverflow.com/questions/62428998

            QUESTION

            Openshift_control_plane : Report control plane errors
            Asked 2020-Feb-18 at 07:44

            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:44

            Solved ! 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 !

            Source https://stackoverflow.com/questions/60180660

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install openshift-ansible

            Install a cluster using the OpenShift Installer.
            OpenShift Container Platform
            OKD (formerly OpenShift Origin)

            Support

            OpenShift Container PlatformOKD (formerly OpenShift Origin)
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/openshift/openshift-ansible.git

          • CLI

            gh repo clone openshift/openshift-ansible

          • sshUrl

            git@github.com:openshift/openshift-ansible.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Python Libraries

            public-apis

            by public-apis

            system-design-primer

            by donnemartin

            Python

            by TheAlgorithms

            Python-100-Days

            by jackfrued

            youtube-dl

            by ytdl-org

            Try Top Libraries by openshift

            origin

            by openshiftGo

            source-to-image

            by openshiftGo

            osin

            by openshiftGo

            installer

            by openshiftGo

            origin-server

            by openshiftRuby