Giter Site home page Giter Site logo

Comments (6)

frankbu avatar frankbu commented on May 25, 2024

Works for me. Do you have istio running and using the the istioctl binary that matches?

apiVersion: apps/v1beta1
kind: Deployment
metadata:
  creationTimestamp: null
  labels:
    name: test-app
spec:
  replicas: 1
  strategy: {}
  template:
    metadata:
      annotations:
        alpha.istio.io/sidecar: injected
        alpha.istio.io/version: [email protected]
        pod.beta.kubernetes.io/init-containers: '[{"args":["-p","15001","-u","1337"],"image":"docker.io/istio/init:0.1","imagePullPolicy":"Always","name":"init","securityContext":{"capabilities":{"add":["NET_ADMIN"]}}},{"args":["-c","sysctl
          -w kernel.core_pattern=/tmp/core.%e.%p.%t \u0026\u0026 ulimit -c unlimited"],"command":["/bin/sh"],"image":"alpine","imagePullPolicy":"Always","name":"enable-core-dump","securityContext":{"privileged":true}}]'
      creationTimestamp: null
      labels:
        name: test-app
    spec:
      containers:
      - image: test/image
        name: test-app
        ports:
        - containerPort: 3000
          name: testapp
        resources: {}
      - args:
        - proxy
        - sidecar
        - -v
        - "2"
        env:
        - name: POD_NAME
          valueFrom:
            fieldRef:
              fieldPath: metadata.name
        - name: POD_NAMESPACE
          valueFrom:
            fieldRef:
              fieldPath: metadata.namespace
        - name: POD_IP
          valueFrom:
            fieldRef:
              fieldPath: status.podIP
        image: docker.io/istio/proxy_debug:0.1
        imagePullPolicy: Always
        name: proxy
        resources: {}
        securityContext:
          runAsUser: 1337
status: {}
---

from old_issues_repo.

ldemailly avatar ldemailly commented on May 25, 2024

check which istioctl and istioctl version it should start with:

istioctl version:

Version: 0.1.6
GitRevision: dab2033
GitBranch: release-0.1

from old_issues_repo.

FuzzOli87 avatar FuzzOli87 commented on May 25, 2024

@frankbu What do you mean by if I have "istio running"? I have the istioctl binary and moved it to my /usr/local/bin but didn't do anything besides that. This is what I get when I run istioctl version

image

from old_issues_repo.

frankbu avatar frankbu commented on May 25, 2024

@FuzzOli87 I meant you need to have the istio services installed/running: https://istio.io/docs/tasks/installing-istio.html

from old_issues_repo.

FuzzOli87 avatar FuzzOli87 commented on May 25, 2024

@frankbu I definitely have them installed in my cluster.

from old_issues_repo.

FuzzOli87 avatar FuzzOli87 commented on May 25, 2024

Sigh, so I have to use the namespace flag since for it to work! Sorry!

from old_issues_repo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.