- Create the IAM role for EFS and attach to control plane and worker nodes (can just be worker nodes)
- Deploy the EFS Operator from Operator Hub
- Install the EFS CSI Driver with efs-cluster-csi-driver.yaml
- create the EFS Storage Class with efs-sc.yaml example (Need to change fields here for your EFS)
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
kind: DevWorkspace | |
apiVersion: workspace.devfile.io/v1alpha2 | |
metadata: | |
name: code-latest | |
spec: | |
started: true | |
template: | |
attributes: | |
.continue/config.json: | | |
{ |
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
kind: PersistentVolumeClaim | |
apiVersion: v1 | |
metadata: | |
name: basic-thin-pvc | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 5Gi |
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
apiVersion: v1 | |
additionalTrustBundlePolicy: Always | |
baseDomain: mydomain.com | |
#credentialsMode: Mint | |
controlPlane: | |
hyperthreading: Enabled | |
name: master | |
platform: | |
aws: | |
# zones: # typically derived from the subnets listed later in the file |
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
apiVersion: ols.openshift.io/v1alpha1 | |
kind: OLSConfig | |
metadata: | |
name: cluster | |
spec: | |
llm: | |
providers: | |
- credentialsSecretRef: | |
name: credentials | |
models: |
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
AWSTemplateFormatVersion: 2010-09-09 | |
Description: Template for creating a disconnected VPC in up to 3 AZs | |
Parameters: | |
VpcCidr: | |
AllowedPattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(1[6-9]|2[0-4]))$ | |
ConstraintDescription: CIDR block parameter must be in the form x.x.x.x/16-24. | |
Default: 10.0.0.0/16 | |
Description: CIDR block for VPC. |
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
schemaVersion: 2.1.0 | |
metadata: | |
name: codeassist-images | |
attributes: | |
controller.devfile.io/storage-type: ephemeral | |
controller.devfile.io/scc: container-build | |
.continue/config.json: | | |
{ | |
"allowAnonymousTelemetry": false, | |
"models": [ |
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
# enable network | |
nmcli con show | |
nmcli con up enp1s0 | |
mkdir /mnt/tmpfs | |
mount -o size=8G -t tmpfs none /mnt/tmpfs | |
# Enable subscription | |
subscription-manager register | |
# or copy in /etc/yum.repos.d files for satellite to base system |
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
--- | |
# https://access.redhat.com/solutions/4845381 | |
# https://access.redhat.com/solutions/6985513 | |
# ############## | |
# https://access.redhat.com/solutions/5286371 | |
- hosts: all | |
vars: | |
ansible_ssh_private_key_file: /home/ec2-user/.ssh/id_rsa_ocp.pem | |
#ansible_connection: ssh | |
ansible_user: core |
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
apiVersion: v1alpha1 | |
kind: AgentConfig | |
metadata: | |
name: agent-config | |
rendezvousIP: 192.168.1.80 # For a SNO cluster this is the same IP as the server. For a non-SNO install, pick an IP of one of the control plane servers | |
hosts: | |
- hostname: master-0 | |
role: master | |
interfaces: | |
- name: eno1 # This doesn't need to be the actual interface name, it has to match the names below |
NewerOlder