Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for syscall (0.23 sec)

  1. cni/pkg/nodeagent/podcgroupns_linux.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"fmt"
    	"io/fs"
    	"syscall"
    )
    
    func GetInode(fi fs.FileInfo) (uint64, error) {
    	if stat, ok := fi.Sys().(*syscall.Stat_t); ok {
    		return stat.Ino, nil
    	}
    	return 0, fmt.Errorf("unable to get inode")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 814 bytes
    - Viewed (0)
  2. cni/cmd/install-cni/main.go

    package main
    
    import (
    	"context"
    	"os"
    	"os/signal"
    	"syscall"
    
    	"istio.io/istio/cni/pkg/cmd"
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	// Create context that cancels on termination signal
    	ctx, cancel := context.WithCancel(context.Background())
    	sigChan := make(chan os.Signal, 1)
    	signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
    	go func(sigChan chan os.Signal, cancel context.CancelFunc) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  3. Makefile.core.mk

    	@# Add a retry, as occasionally we see transient connection failures to GCS
    	@# Like `curl: (56) OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104`
    	TARGET_OUT=$(TARGET_OUT) ISTIO_BIN=$(ISTIO_BIN) GOOS_LOCAL=$(GOOS_LOCAL) bin/retry.sh SSL_ERROR_SYSCALL bin/init.sh
    	touch $(TARGET_OUT)/istio_is_init
    
    .PHONY: init-ztunnel-rs
    init-ztunnel-rs:
    	TARGET_OUT=$(TARGET_OUT) bin/build_ztunnel.sh
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/fakes_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"context"
    	"embed"
    	"io/fs"
    	"sync/atomic"
    	"syscall"
    
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/cni/pkg/iptables"
    )
    
    //go:embed testdata/cgroupns
    var fakeProc embed.FS
    
    type fakeZtunnel struct {
    	deletedPods atomic.Int32
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. manifests/charts/gateway/templates/deployment.yaml

          {{- if .Values.securityContext }}
            {{- toYaml .Values.securityContext | nindent 8 }}
          {{- else }}
            # Safe since 1.22: https://github.com/kubernetes/kubernetes/pull/103326
            sysctls:
            - name: net.ipv4.ip_unprivileged_port_start
              value: "0"
          {{- end }}
          {{- with .Values.volumes }}
          volumes:
            {{ toYaml . | nindent 8 }}
          {{- end }}
          containers:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. manifests/charts/gateway/values.yaml

      # Define the security context for the pod.
      # If unset, this will be automatically set to the minimum privileges required to bind to port 80 and 443.
      # On Kubernetes 1.22+, this only requires the `net.ipv4.ip_unprivileged_port_start` sysctl.
      securityContext: ~
      containerSecurityContext: ~
    
      service:
        # Type of service. Set to "None" to disable the service entirely
        type: LoadBalancer
        ports:
        - name: status-port
          port: 15021
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 11 16:55:28 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. manifests/charts/istio-control/istio-discovery/files/gateway-injection-template.yaml

        kubectl.kubernetes.io/default-logs-container: "{{ index $containers 0 }}",
        kubectl.kubernetes.io/default-container: "{{ index $containers 0 }}",
        {{ end }}
      }
    spec:
      securityContext:
        sysctls:
        - name: net.ipv4.ip_unprivileged_port_start
          value: "0"
      containers:
      - name: istio-proxy
      {{- if contains "/" .Values.global.proxy.image }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 27 16:55:16 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/files/kube-gateway.yaml

              ) | nindent 8 }}
        spec:
          {{- if ge .KubeVersion 122 }}
          {{/* safe since 1.22: https://github.com/kubernetes/kubernetes/pull/103326. */}}
          securityContext:
            sysctls:
            - name: net.ipv4.ip_unprivileged_port_start
              value: "0"
          {{- end }}
          serviceAccountName: {{.ServiceAccount | quote}}
          containers:
          - name: istio-proxy
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 19 15:10:43 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  9. manifests/charts/gateways/istio-ingress/templates/deployment.yaml

    {{- end }}
    {{- if .Values.global.imagePullPolicy }}
              imagePullPolicy: {{ .Values.global.imagePullPolicy }}
    {{- end }}
              command:
                - /bin/sh
              args:
                - -c
                - sysctl -w kernel.core_pattern=/var/lib/istio/data/core.proxy && ulimit -c unlimited
              securityContext:
                runAsUser: 0
                runAsGroup: 0
                runAsNonRoot: false
                privileged: true
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 12.1K bytes
    - Viewed (1)
  10. common/scripts/kind_provisioner.sh

          [ -s "${CLUSTER_KUBECONFIG}" ] && break
          sleep 3
        done
    
        # Enable core dumps
        retry docker exec "${CLUSTER_NAME}"-control-plane bash -c "sysctl -w kernel.core_pattern=/var/lib/istio/data/core.proxy && ulimit -c unlimited"
      }
    
      # Now deploy the specified number of KinD clusters and
      # wait till they are provisioned successfully.
      declare -a DEPLOY_KIND_JOBS
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
Back to top