{"id":86200,"date":"2020-06-22T13:42:20","date_gmt":"2020-06-22T11:42:20","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/monitoring-i-logirovanie-vneshnih-servisov-v-klaster-kubernetes"},"modified":"2020-06-22T13:42:20","modified_gmt":"2020-06-22T11:42:20","slug":"monitoring-i-logirovanie-vneshnih-servisov-v-klaster-kubernetes","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/monitoring-i-logirovanie-vneshnih-servisov-v-klaster-kubernetes","title":{"rendered":"Monitorimi dhe regjistrimi i sh\u00ebrbimeve t\u00eb jashtme n\u00eb klasterin Kubernetes","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Monitorimi dhe regjistrimi i sh\u00ebrbimeve t\u00eb jashtme n\u00eb klasterin Kubernetes\" src=\"\/wp-content\/uploads\/2020\/06\/d3de818853c6820311de51e79aec56a6.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nP\u00ebrsh\u00ebndetje t\u00eb gjith\u00eb.<\/p>\n<p>Nuk kam gjetur n\u00eb rrjet nj\u00eb udh\u00ebzues t\u00eb p\u00ebrgjithsh\u00ebm p\u00ebr regjistrimin dhe mbledhjen e metrikeve nga sh\u00ebrbimet e jashtme n\u00eb sistemet e shp\u00ebrndara n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/kubernetes.io\">Kubernetes<\/a><\/noindex>. Publikoj zgjidhjen time. Ky artikull supozon q\u00eb t\u00eb keni nj\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/prometheus.io\/\">Prometheus<\/a><\/noindex> dhe sh\u00ebrbime t\u00eb tjera t\u00eb pun\u00ebs. Si nj\u00eb shembull burimi t\u00eb dh\u00ebnash nga nj\u00eb sh\u00ebrbim stateful t\u00eb jasht\u00ebm do t\u00eb p\u00ebrdorim nj\u00eb DBMS <noindex><a rel=\"nofollow\" href=\"https:\/\/www.postgresql.org\">PostgreSQL<\/a><\/noindex> n\u00eb kontejner <noindex><a rel=\"nofollow\" href=\"https:\/\/www.docker.com\">Docker<\/a><\/noindex>. N\u00eb kompanin\u00eb ton\u00eb p\u00ebrdoret nj\u00eb menaxher paketash <noindex><a rel=\"nofollow\" href=\"https:\/\/helm.sh\">Helm<\/a><\/noindex>, m\u00eb posht\u00eb do t\u00eb ket\u00eb shembuj mbi t\u00eb. P\u00ebr t\u00ebr\u00eb zgjidhjen ne p\u00ebrgatisim nj\u00eb chart ton\u00eb, duke p\u00ebrfshir\u00eb n\u00ebnd\u00ebrchartet e t\u00eb gjith\u00eb sh\u00ebrbimeve t\u00eb p\u00ebrdorura.<br \/>\n <noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h4>Regjistrimi<\/h4>\n<p>\nShum\u00eb kompani p\u00ebr mbledhjen dhe shikimin dhe centralizimin e regjistrimeve p\u00ebrdorin nj\u00eb stak teknologjish <noindex><a rel=\"nofollow\" href=\"https:\/\/www.elastic.co\/\">Elasticsearch<\/a><\/noindex> + <noindex><a rel=\"nofollow\" href=\"https:\/\/www.elastic.co\/products\/logstash\">Logstash<\/a><\/noindex> + <noindex><a rel=\"nofollow\" href=\"https:\/\/www.elastic.co\/products\/kibana\">kibana<\/a><\/noindex>, e njohur ndryshe si ELK. N\u00eb rastin ton\u00eb nuk ka nevoj\u00eb t\u00eb indeksohet p\u00ebrmbajtja dhe un\u00eb kam aplikuar nj\u00eb zgjidhje m\u00eb t\u00eb leht\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/grafana.com\/oss\/loki\/\">Loki<\/a><\/noindex>. Ai \u00ebsht\u00eb i disponuesh\u00ebm si nj\u00eb paket\u00eb Helm, ne e kemi shtuar at\u00eb si subchart duke ndryshuar vlerat p\u00ebr ingress dhe pv sipas sistemit ton\u00eb.<\/p>\n<p>                        <b class=\"spoiler_title\">values.yaml<\/b><\/p>\n<pre><code class=\"xml\">ingress:\n  enabled: true\n  annotations:\n     kubernetes.io\/ingress.class: nginx\n  hosts:\n    - host: kube-loki.example.domain\n      paths: \n        - \/\n  tls: []\n\n....\n\npersistence:\n  type: pvc\n  enabled: true\n  accessModes:\n    - ReadWriteOnce\n  size: 100Gi\n  finalizers:\n    - kubernetes.io\/pvc-protection\n  existingClaim: &quot;pv-loki&quot;\n<\/code><\/pre>\n<p>P\u00ebr t\u00eb d\u00ebrguar log-et n\u00eb instanc\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/grafana.com\/oss\/loki\/\">Loki<\/a><\/noindex> p\u00ebrdorim <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/grafana\/loki\/tree\/master\/cmd\/docker-driver\">Loki Docker Logging Driver<\/a><\/noindex>.<\/p>\n<p>Duhet t\u00eb instaloni k\u00ebt\u00eb shtes\u00eb n\u00eb t\u00eb gjitha <noindex><a rel=\"nofollow\" href=\"https:\/\/www.docker.com\">Docker<\/a><\/noindex> hostet nga t\u00eb cilat d\u00ebshironi t\u00eb merrni log-et. Ka disa m\u00ebnyra p\u00ebr t\u00eb treguar demonit si t\u00eb p\u00ebrdor\u00eb shtes\u00ebn. Un\u00eb e b\u00ebj zgjedhjen e drejtuesit n\u00eb yaml <noindex><a rel=\"nofollow\" href=\"https:\/\/docs.docker.com\/compose\/\">Docker Compose<\/a><\/noindex>, i cili \u00ebsht\u00eb pjes\u00eb e <noindex><a rel=\"nofollow\" href=\"https:\/\/www.ansible.com\/\">Ansible<\/a><\/noindex> playbook.<\/p>\n<p>                        <b class=\"spoiler_title\">postgres.yaml<\/b><\/p>\n<pre><code class=\"xml\">    - name: Run containers\n      docker_compose:\n        project_name: main-postgres\n        definition:\n          version: '3.7'\n          services:\n            p:\n              image: &quot;{{ postgres_version }}&quot;\n              container_name: postgresql\n              restart: always\n              volumes:\n                - &quot;{{ postgres_dir }}\/data:\/var\/lib\/postgresql\/data&quot;\n                - &quot;{{ postgres_dir }}\/postgres_init_scripts:\/docker-entrypoint-initdb.d&quot;\n              environment:\n                POSTGRES_PASSWORD: {{ postgres_pass }}\n                POSTGRES_USER: {{ postgres_user }}\n              ports:\n                - &quot;{{ postgres_ip }}:{{ postgres_port }}:5432&quot;\n              logging:\n                driver: &quot;loki&quot;\n                options:\n                  loki-url: &quot;{{ loki_url }}&quot;\n                  loki-batch-size: &quot;{{ loki_batch_size }}&quot;\n                  loki-retries: &quot;{{ loki_retries }}&quot;\n...\n<\/code><\/pre>\n<p>\nku loki_url: <noindex><a rel=\"nofollow\" href=\"http:\/\/kube-loki.example.domain\/loki\/api\/v1\/push\">kube-loki.example.domain\/loki\/api\/v1\/push<\/a><\/noindex> <\/p>\n<h4>Metricat<\/h4>\n<p>\n Merren metricat nga PostgreSQL me ndihm\u00ebn e <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/wrouesnel\/postgres_exporter\">postgres_exporter<\/a><\/noindex> p\u00ebr <noindex><a rel=\"nofollow\" href=\"https:\/\/prometheus.io\/\">Prometheus<\/a><\/noindex>. Vazhdimi i skedarit t\u00eb m\u00ebsip\u00ebrm <noindex><a rel=\"nofollow\" href=\"https:\/\/www.ansible.com\/\">Ansible<\/a><\/noindex> playbook.<\/p>\n<p>                        <b class=\"spoiler_title\">postgres.yaml<\/b><\/p>\n<pre><code class=\"xml\">...\n            pexp:\n              image: &quot;wrouesnel\/postgres_exporter&quot;\n              container_name: pexporter\n              restart: unless-stopped\n              environment:\n                DATA_SOURCE_NAME: &quot;postgresql:\/\/{{ postgres_user }}:{{ postgres_pass }}@p:5432\/postgres?sslmode=disable&quot;\n              ports:\n                - &quot;{{ postgres_ip }}:{{ postgres_exporter_port }}:9187&quot;\n              logging:\n                driver: &quot;json-file&quot;\n                options:\n                  max-size: &quot;5m&quot;\n...\n<\/code><\/pre>\n<p>P\u00ebr nj\u00eb pamje m\u00eb t\u00eb qart\u00eb t\u00eb emrave t\u00eb sh\u00ebrbimeve stateful jasht\u00eb, do t'i shkruajm\u00eb p\u00ebrmes Endpoints.<\/p>\n<p>                        <b class=\"spoiler_title\">postgres-service.yaml<\/b><\/p>\n<pre><code class=\"xml\">apiVersion: v1\nkind: Endpoints\nmetadata:\n  name: postgres-exporter\nsubsets:\n  - addresses:\n      - ip: {{ .Values.service.postgres.ip }}\n    ports:\n      - port: {{ .Values.service.postgres.port }}\n        protocol: TCP\n---\napiVersion: v1\nkind: Service\nmetadata:\n  name: postgres-exporter\n  labels:\n    chart:  &quot;{{ .Chart.Name }}-{{ .Chart.Version | replace &quot;+&quot; &quot;_&quot; }}&quot;\nspec:\n  ports:\n    - protocol: TCP\n      port: {{ .Values.service.postgres.port }}\n      targetPort: {{ .Values.service.postgres.port }}\n<\/code><\/pre>\n<p>Konfigurimi i Prometheus p\u00ebr t\u00eb marr\u00eb t\u00eb dh\u00ebnat nga postgres_exporter b\u00ebhet duke redaktuar vlerat n\u00eb subchart.<\/p>\n<p>                        <b class=\"spoiler_title\">values.yaml<\/b><\/p>\n<pre><code class=\"xml\">scrape_configs:<br>...<br>  - job_name: postgres-exporter<br>    static_configs:<br>      - targets: <br>         - postgres-exporter.applicationnamespace.svc.cluster.local:9187<br>        labels:<br>          alias: postgres<br>...\n<\/code><\/pre>\n<p>P\u00ebr vizualizimin e t\u00eb dh\u00ebnave t\u00eb marra, instaloni Dashboard p\u00ebrkat\u00ebs n\u00eb<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/grafana.com\">Grafana<\/a><\/noindex> dhe konfiguroni burimet e t\u00eb dh\u00ebnave. Kjo mund t\u00eb b\u00ebhet gjithashtu p\u00ebrmes vlerave n\u00eb subchart Grafana.<\/p>\n<p>                        <b class=\"spoiler_title\">Si duket kjo<\/b><br \/>\n                        <img decoding=\"async\" alt=\"Monitorimi dhe regjistrimi i sh\u00ebrbimeve t\u00eb jashtme n\u00eb klasterin Kubernetes\" src=\"\/wp-content\/uploads\/2020\/06\/01d9ced9bc50b730bf55f20f8de99daf.png\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>\nShpresoj q\u00eb ky artikull i shkurt\u00ebr ju ndihmoi t\u00eb kuptoni idet\u00eb kryesore t\u00eb k\u00ebtij zgjidhjeje dhe do t'ju kursej\u00eb koh\u00eb n\u00eb konfigurimin e monitoringut dhe regjistrimit t\u00eb sh\u00ebrbimeve t\u00eb jashtme p\u00ebr Loki\/Prometheus n\u00eb klasterin Kubernetes.<br \/>\n<br \/>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/505968\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0441\u0435\u043c. \u042f \u043d\u0435 \u043d\u0430\u0448\u0435\u043b \u0432 \u0441\u0435\u0442\u0438 \u043e\u0431\u043e\u0431\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u043f\u043e \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u0438 \u0441\u0431\u043e\u0440\u0443 \u043c\u0435\u0442\u0440\u0438\u043a \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u0435 \u0432 Kubernetes. \u041f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u0441\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0447\u0438\u0439 Prometheus \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u043b\u0443\u0436\u0431\u044b. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e stateful-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0421\u0423\u0411\u0414 PostgreSQL \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 Docker. \u0412 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":86201,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-86200","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0441\u0435\u043c. \u042f \u043d\u0435 \u043d\u0430\u0448\u0435\u043b \u0432 \u0441\u0435\u0442\u0438 \u043e\u0431\u043e\u0431\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u043f\u043e \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u0438 \u0441\u0431\u043e\u0440\u0443 \u043c\u0435\u0442\u0440\u0438\u043a \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u0435 \u0432 Kubernetes. \u041f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u0441\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0447\u0438\u0439 Prometheus \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u043b\u0443\u0436\u0431\u044b. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e stateful-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0421\u0423\u0411\u0414 PostgreSQL \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 Docker. \u0412 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/monitoring-i-logirovanie-vneshnih-servisov-v-klaster-kubernetes\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0438 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440 Kubernetes | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0441\u0435\u043c. \u042f \u043d\u0435 \u043d\u0430\u0448\u0435\u043b \u0432 \u0441\u0435\u0442\u0438 \u043e\u0431\u043e\u0431\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u043f\u043e \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u0438 \u0441\u0431\u043e\u0440\u0443 \u043c\u0435\u0442\u0440\u0438\u043a \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u0435 \u0432 Kubernetes. \u041f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u0441\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0447\u0438\u0439 Prometheus \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u043b\u0443\u0436\u0431\u044b. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e stateful-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0421\u0423\u0411\u0414 PostgreSQL \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 Docker. \u0412 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/monitoring-i-logirovanie-vneshnih-servisov-v-klaster-kubernetes\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-06-22T11:42:20+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-06-22T11:42:20+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Monitoring dhe regjistrimi i sh\u00ebrbimeve t\u00eb jashtme n\u00eb klasterin Kubernetes | ProHoster","description":"P\u00ebrsh\u00ebndetje t\u00eb gjith\u00ebve. Nuk kam gjetur nj\u00eb udh\u00ebzues p\u00ebrmbledh\u00ebs n\u00eb internet p\u00ebr regjistrimin dhe grumbullimin e metrikave nga sh\u00ebrbime t\u00eb jashtme n\u00eb sistemet e vendosura n\u00eb Kubernetes. Publikoj zgjidhjen time. Ky artikull n\u00ebnkupton q\u00eb ju tashm\u00eb keni nj\u00eb Prometheus funksional dhe sh\u00ebrbime t\u00eb tjera. Si nj\u00eb shembull t\u00eb burimit t\u00eb t\u00eb dh\u00ebnave nga nj\u00eb sh\u00ebrbim stateful t\u00eb jasht\u00ebm, do t\u00eb p\u00ebrdoret DBMS PostgreSQL n\u00eb nj\u00eb kontejner Docker. N\u00eb kompanin\u00eb ton\u00eb p\u00ebrdoret","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/monitoring-i-logirovanie-vneshnih-servisov-v-klaster-kubernetes","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0438 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440 Kubernetes | ProHoster","og:description":"\u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0441\u0435\u043c. \u042f \u043d\u0435 \u043d\u0430\u0448\u0435\u043b \u0432 \u0441\u0435\u0442\u0438 \u043e\u0431\u043e\u0431\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u043f\u043e \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u0438 \u0441\u0431\u043e\u0440\u0443 \u043c\u0435\u0442\u0440\u0438\u043a \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u0435 \u0432 Kubernetes. \u041f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u0441\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0447\u0438\u0439 Prometheus \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u043b\u0443\u0436\u0431\u044b. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e stateful-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0421\u0423\u0411\u0414 PostgreSQL \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 Docker. \u0412 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f","og:url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/monitoring-i-logirovanie-vneshnih-servisov-v-klaster-kubernetes","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-06-22T11:42:20+00:00","article:modified_time":"2020-06-22T11:42:20+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"86200","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 14:21:08","updated":"2022-09-28 06:57:45"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/86200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=86200"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/86200\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media\/86201"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=86200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=86200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=86200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}