Helm

From berki WIKI
Revision as of 14:44, 9 July 2019 by Adam (talk | contribs)

Jump to: navigation, search

Telepítés

Helm letöltése: https://helm.sh/docs/using_helm/#installing-helm

# sudo ln -s /home/adam/Programs/helm/helm2/helm /usr/bin/helm


# helm init
$HELM_HOME has been configured at /root/.helm.

Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.

Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy.
To prevent this, run `helm init` with the --tiller-tls-verify flag.
For more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation


# kubectl get all -n kube-system
NAME                                    READY   STATUS    RESTARTS   AGE
pod/tiller-deploy-775c9dcf94-x429k      1/1     Running   0          5m

NAME                    TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)     AGE
service/tiller-deploy   ClusterIP   172.30.26.107   <none>        44134/TCP   5m

NAME                            DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/tiller-deploy   1         1         1            1           5m

NAME                                       DESIRED   CURRENT   READY   AGE
replicaset.apps/tiller-deploy-775c9dcf94   1         1         1       5m

Prometheus telepítése

https://hub.helm.sh/

# helm search prometheus
NAME                                 	CHART VERSION	APP VERSION	DESCRIPTION                                                 
stable/prometheus                    	8.14.0       	2.11.1     	Prometheus is a monitoring system and time series database. 


# helm inspect values stable/prometheus
rbac:
  create: true
imagePullSecrets:
# - name: "image-pull-secret"
## Define serviceAccount names for components. Defaults to component's fully qualified name.
##
serviceAccounts:
  alertmanager:
    create: true
....


PROM_ADDR=mon.$(minishfit ip).nip.io
AM_ADDR=alertmanager.$(minishfit ip).nip.io



  1. Push display adatok megjelenítése Schema

```

```

| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In | | ------------------- | ---------- | ------------ | ------------ | ----------------- | --------------------- | -------------------------------------------------- | | Can be instantiated | No | Experimental | No | Forbidden | Permitted | [pushDetails.schema.json](pushDetails.schema.json) |

  1. Push display adatok megjelenítése Properties

| Property | Type | Required | Nullable | Defined by | | ------------------------------- | ---------- | ------------ | -------- | ----------------------------------------------- | | [attributes](#attributes) | `object[]` | **Required** | No | Push display adatok megjelenítése (this schema) | | [creationDate](#creationdate) | `string` | **Required** | No | Push display adatok megjelenítése (this schema) | | [functionCode](#functioncode) | `string` | **Required** | No | Push display adatok megjelenítése (this schema) | | [templateType](#templatetype) | `enum` | **Required** | No | Push display adatok megjelenítése (this schema) | | [transactionId](#transactionid) | `string` | **Required** | No | Push display adatok megjelenítése (this schema) | | `*` | any | Additional | Yes | this schema _allows_ additional properties |

    1. attributes

A templét belsejében megjelenő attribútumok listája

`attributes`

- is **required** - type: `object[]` - defined in this schema

      1. attributes Type

Array type: `object[]`

All items must be of the type: `object` with following properties:

| Property | Type | Required | | ----------- | ------ | ------------ | | `labelCode` | string | Optional | | `params` | object | **Required** | | `type` | string | **Required** |

        1. labelCode

Annak a címkének a kódja, amit kiírunk a sor elejére az adott attribútum típus elé

`labelCode`

- is optional - type: `string`

          1. labelCode Type

`string`

        1. params

Az attribútum paraméterei, melyek nevesített mezői a params univerzális objektumnak

`params`

- is **required** - type: `object`

          1. params Type

`object` with following properties:

| Property | Type | Required | | -------- | ---- | -------- |


        1. type

Az attribútum típusa. Ez határozza meg a megjelenítést

`type`

- is **required** - type: `enum`

The value of this property **must** be equal to one of the [known values below](#attributes-known-values).

          1. type Known Values

| Value | Description | | ---------------------- | ----------- | | `TEXT` | | | `MULTI_LINE_TEXT` | | | `SORT_DATE` | | | `DATE_WITH_WEEK_DAY` | | | `DATE` | | | `SHORT_DATE_TIME` | | | `PIECE` | | | `SOURCE_ACCOUNT` | | | `AMOUNT` | | | `TARGET_GIRO_ACCOUNT` | | | `TARGET_IBAN_ACCOUNT` | | | `TARGET_PROXY_ACCOUNT` | | | `CARD` | | | `RECURRENCE` | | | `PROVIDER` | |

    1. creationDate

A tranzakció létrehozásának az időpontja ISO 8601 formátumban.

`creationDate`

- is **required** - type: `string` - defined in this schema

      1. creationDate Type

`string`

    1. functionCode

A funkció kódja annak a folyamatnak amihez az MFA-t kaptuk. Ez fogja a címet meghatározni

`functionCode`

- is **required** - type: `string` - defined in this schema

      1. functionCode Type

`string`

    1. templateType

A templét típusa ami a képernyő struktúráját fogja meghatározni

`templateType`

- is **required** - type: `enum` - defined in this schema

The value of this property **must** be equal to one of the [known values below](#templatetype-known-values).

      1. templateType Known Values

| Value | Description | | ---------- | ----------- | | `MODIFY` | | | `TRANSFER` | | | `PURCHASE` | | | `LOGIN` | |

    1. transactionId

Az ID-ja annak a tranzakciónak, amihez a PUSH megerősítést kaptuk

`transactionId`

- is **required** - type: `string` - defined in this schema

      1. transactionId Type

`string`