Skip to content

Instantly share code, notes, and snippets.

View bharatmicrosystems's full-sized avatar
😀

Gaurav Agarwal bharatmicrosystems

😀
View GitHub Profile
git clone https://github.com/sonatype-nexus-community/nexus-repository-helm.git
cd nexus-repository-helm
git checkout <plugin_version> #e.g. git checkout 0.0.13
mvn clean package
<feature version="3.x.y">nexus-repository-p2</feature>
+ <feature version="<plugin_version>">nexus-repository-helm</feature>
<feature version="3.x.y.xy">nexus-repository-raw</feature>
</feature>
+ <feature name="nexus-repository-helm" description="org.sonatype.nexus.plugins:nexus-repository-helm" version="<plugin_version>">
+ <details>org.sonatype.nexus.plugins:nexus-repository-helm</details>
+ <bundle>mvn:org.sonatype.nexus.plugins/nexus-repository-helm/<plugin_version></bundle>
+ </feature>
apiVersion: '1.0'
entries:
confluence:
- appVersion: '1.0'
created: 2020-01-22T00:32:09.685Z
description: A Helm chart for Kubernetes
digest: 6b9d3af7bb90b9b74a979ea2d59219ed44bf12f9417b8393f60141bcd7d48f80
name: confluence
urls:
- confluence-0.1.0.tgz
<?xml version='1.1' encoding='UTF-8'?>
<hudson>
<disabledAdministrativeMonitors/>
<version>2.217</version>
<installStateName>RUNNING</installStateName>
<numExecutors>0</numExecutors>
<mode>NORMAL</mode>
<useSecurity>true</useSecurity>
<authorizationStrategy class="hudson.security.FullControlOnceLoggedInAuthorizationStrategy">
<denyAnonymousReadAccess>true</denyAnonymousReadAccess>
Description Source Target Ports Direction
Trusted Clients to Bastion Host Trusted Internet IP Range Bastion Host tcp:22 Ingress
Bastion Host to all nodes Bastion Host All Nodes tcp:22 Ingress
Trusted Clients, Master and Worker Nodes to API Server Load Balancer Trusted Internet IP Range, Master and Worker Nodes Load Balancer tcp:6443 Ingress
API Server Load Balancer to Master Nodes Load Balancer Master Nodes tcp:6443 Ingress
Master Nodes to ETCD Load Balancer Master Nodes ETCD Load Balancer tcp:2379 Ingress
ETCD Load Balancer to ETCD Nodes ETCD Load Balancer ETCD Nodes tcp:2379 Ingress
ETCD Nodes to ETCD Nodes ETCD Nodes ETCD Nodes tcp:2379-2380 Ingress
API Servers to Kubelet on Worker Nodes Master Nodes Worker Nodes tcp:10250 Ingress
Load Balancer and Master Nodes to Worker NodePorts Load Balancer and Master Nodes Worker Nodes tcp:30000-32767 Ingress
#!/bin/bash
param=$1
internal_vip=$OCF_RESKEY_internal_vip
external_vip=$OCF_RESKEY_external_vip
healthz=$OCF_RESKEY_healthz
meta_data() {
cat <<END
<?xml version="1.0"?>
<!DOCTYPE resource-agent SYSTEM "ra-api-1.dtd">
<resource-agent name="gcp-failoverd" version="0.1">
#!/bin/bash
internal=false
external=false
while getopts ":i:e:" opt; do
case "$opt" in
i) internal_vip=$OPTARG
internal=true
;;
e) external_vip=$OPTARG
external=true
steps:
# Pull the existing image
- name: 'gcr.io/cloud-builders/docker'
entrypoint: 'bash'
args:
- '-c'
- |
docker pull gcr.io/$PROJECT_ID/tomcat:latest || exit 0
# Build a docker image
- name: 'gcr.io/cloud-builders/docker'
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: productpage
spec:
hosts:
- productpage
http:
- route:
- destination:
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: productpage
spec:
host: productpage
subsets:
- name: v1
labels:
version: v1