Skip to content

Instantly share code, notes, and snippets.

View ricardozanini's full-sized avatar
🏠
Working from home

Ricardo Zanini ricardozanini

🏠
Working from home
View GitHub Profile
$ echo http://$(minikube ip):31031
http://192.168.32.5:31031
$ kubectl get nexus –n nexus
NAME EXPOSE AS UPDATE DISABLED STATUS REASON MAVEN PUBLIC URL
nexus3 NodePort Pending
kubectl apply –f https://raw.githubusercontent.com/m88i/nexus-operator/main/examples/nexus3-centos-no-volume.yaml -n nexus
$ kubectl get deployment -n nexus-operator-system
NAME READY UP-TO-DATE AVAILABLE AGE
nexus-operator-controller-manager 1/1 1 1 83s
VERSION=<current Nexus Operator version>
kubeclt apply –f https://github.com/m88i/nexus-operator/releases/download/${VERSION}/nexus-operator.yaml
# requires python and kubectl
bash <(curl -s https://github.com/m88i/nexus-operator/blob/main/hack/install.sh)
@ricardozanini
ricardozanini / kubernetes-operators-refs.md
Last active November 17, 2020 12:55
Kubernetes Operators References
{
"action":"edited",
"number":2,
"pull_request":{
"url":"https://api.github.com/repos/ricardozanini/kogito-sw-demo/pulls/2",
"id":477344972,
"node_id":"MDExOlB1bGxSZXF1ZXN0NDc3MzQ0OTcy",
"html_url":"https://github.com/ricardozanini/kogito-sw-demo/pull/2",
"diff_url":"https://github.com/ricardozanini/kogito-sw-demo/pull/2.diff",
"patch_url":"https://github.com/ricardozanini/kogito-sw-demo/pull/2.patch",
{
"id": "prchecker",
"name": "Github PR Checker Workflow",
"version": "1.0",
"functions": [
{
"name": "FetchPRFiles",
"type": "service",
"metadata": {
"interface": "org.kogito.examples.sw.github.workflow.GitHubService",
{
"id": "online-vehicle-auction",
"name": "Online Vehicle Auction",
"version": "1.0v",
"functions": [
{
"name": "userAuthServiceCall",
"resource": "http://authservice.com",
"type": "rest",
"metadata": {