- Open the Console!
- Open a Terminal
- Login to our VM -
ssh [email protected]
(Password is in coreos slack) - Navigate to the Console directory -
cd coding/matthewcarleton/console
- Lets update the pull requests list -
git fetch upstream
- Fetch a Pull request -
git fetch upstream pull/ID/head:BRANCHNAME
This file contains 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
# Start SSH Service. | |
wsl sudo service ssh start | |
# WSL2 network port forwarding script v1 | |
# for enable script, 'Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser' in Powershell, | |
# for delete exist rules and ports use 'delete' as parameter, for show ports use 'list' as parameter. | |
# written by Daehyuk Ahn, Aug-1-2020 | |
# Display all portproxy information | |
If ($Args[0] -eq "list") { |
This file contains 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
$taskName = "WSL2_PORTS" | |
$task = Get-ScheduledTask -TaskName $taskName -ErrorAction SilentlyContinue | |
if ($null -ne $task) { | |
Unregister-ScheduledTask -TaskName $taskName -Confirm:$false | |
} | |
# TODO: Enter Path to script, change delay if you will. | |
$action = New-ScheduledTaskAction -Execute 'powershell.exe' -Argument '-File "C:\Path\To\Script.ps1"' | |
$trigger = New-ScheduledTaskTrigger -AtStartup -RandomDelay 00:00:30 | |
$settings = New-ScheduledTaskSettingsSet -Compatibility Win8 |
Running Openshift Console locally with CodeReady Containers is really nice and fast! It is very useful for developers/designers looking to test and create new components.
- Openshift Console - Theres a good chance you already have it! :)
- Red Hat Account, Sudo rights
Running Openshift Console along side a native local K8s is really nice and fast! Very useful for developers looking to test and create new components, and for users looking to take advantage of the console UI with their own cluster. There are a couple things that are missing: Metrics and Templates (Kubernetes doesn't support Templates kind, and there is no Prometheus)
- A local K8s cluster (Minikube, Docker Desktop etc..)
- Openshift Console
This file contains 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
import React from 'react'; | |
import Proptypes from 'prop-types'; | |
import { isEmpty } from 'lodash'; | |
import { Paginator } from 'patternfly-react'; | |
import { | |
getURI, | |
getURIpage, | |
getURIperPage, | |
changeQuery, | |
translatePagination, |